@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap);
/* 예시파일 */

:root {
  --layout-color: #fff;
}

/* Responsive CSS System for Looktake Storefront */
/* Breakpoints: 480px, 768px, 1024px, 1200px, 1440px */

:root {
  /* Breakpoint variables for reference */
  --breakpoint-xs: 480px;
  --breakpoint-sm: 768px;
  --breakpoint-md: 1024px;
  --breakpoint-lg: 1200px;
  --breakpoint-xl: 1440px;

  /* Container max widths */
  --container-sm: 100%;
  --container-md: 720px;
  --container-lg: 960px;
  --container-xl: 1140px;
  --container-xxl: 1320px;

  /* Spacing scale */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;

  /* Grid gutters */
  --grid-gutter: 16px;
  --grid-gutter-lg: 24px;
}

/* ============================================
   Container System
   ============================================ */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--grid-gutter);
  padding-right: var(--grid-gutter);
}

@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
    padding-left: var(--grid-gutter-lg);
    padding-right: var(--grid-gutter-lg);
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: var(--container-xl);
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: var(--container-xxl);
  }
}

.container--fluid {
  max-width: 100%;
}

/* ============================================
   Grid System (Flexbox-based)
   ============================================ */
.grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(var(--grid-gutter) * -0.5);
  margin-right: calc(var(--grid-gutter) * -0.5);
}

.grid__col {
  flex: 1 0 0%;
  padding-left: calc(var(--grid-gutter) * 0.5);
  padding-right: calc(var(--grid-gutter) * 0.5);
}

/* Column classes - mobile first (1-4 columns) */
.grid__col--1 {
  flex: 0 0 100%;
  max-width: 100%;
}

.grid__col--2 {
  flex: 0 0 50%;
  max-width: 50%;
}

.grid__col--3 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
}

.grid__col--4 {
  flex: 0 0 25%;
  max-width: 25%;
}

/* Small screens (>=768px) */
@media (min-width: 768px) {
  .grid__col--sm-1 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .grid__col--sm-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .grid__col--sm-3 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .grid__col--sm-4 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* Medium screens (>=1024px) */
@media (min-width: 1024px) {
  .grid__col--md-1 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .grid__col--md-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .grid__col--md-3 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .grid__col--md-4 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* Large screens (>=1200px) */
@media (min-width: 1200px) {
  .grid__col--lg-1 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .grid__col--lg-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .grid__col--lg-3 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }

  .grid__col--lg-4 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* ============================================
   Product Grid System
   ============================================ */
.product-grid {
  display: grid;
  gap: var(--spacing-sm);
}

/* Mobile: 2 columns, tight gap */
.product-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
}

/* Tablet: 3 columns */
@media (min-width: 768px) {
  .product-grid--responsive {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
  }
}

/* Desktop: 4 columns */
@media (min-width: 1024px) {
  .product-grid--responsive {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
  }
}

/* Desktop Large: 4 columns (keep 4, not 5 — fashion boutique feel) */
@media (min-width: 1440px) {
  .product-grid--responsive {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
  }
}

/* ============================================
   Platform-Specific Display Utilities
   ============================================ */
/* Hide on mobile, show on desktop */
.desktop-only {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-only {
    display: block;
  }

  .desktop-only--flex {
    display: flex;
  }

  .desktop-only--grid {
    display: grid;
  }

  .desktop-only--inline {
    display: inline;
  }

  .desktop-only--inline-block {
    display: inline-block;
  }
}

/* Show on mobile, hide on desktop */
.mobile-only {
  display: block;
}

.mobile-only--flex {
  display: flex;
}

@media (min-width: 1024px) {

  .mobile-only,
  .mobile-only--flex {
    display: none !important;
  }
}

/* ============================================
   Layout System - Desktop
   ============================================ */
.layout-desktop {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.layout-desktop__header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--whole-color);
  border-bottom: 1px solid var(--default-color);
}

.layout-desktop__main {
  flex: 1;
  display: flex;
}

.layout-desktop__content {
  flex: 1;
  min-width: 0;
}

.layout-desktop__sidebar {
  flex: 0 0 280px;
  width: 280px;
  padding: var(--spacing-lg);
  background-color: var(--background-color);
}

.layout-desktop__sidebar--left {
  order: -1;
}

.layout-desktop__footer {
  margin-top: auto;
}

/* ============================================
   Layout System - Mobile
   ============================================ */
.layout-mobile {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.layout-mobile__header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--whole-color);
}

.layout-mobile__main {
  flex: 1;
}

.layout-mobile__bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--whole-color);
  border-top: 1px solid var(--default-color);
}

/* ============================================
   Desktop Navigation
   ============================================ */
.desktop-nav {
  display: none;
  background-color: var(--whole-color);
  border-bottom: 1px solid var(--default-color);
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: block;
  }
}

.desktop-nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-xxl);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  height: 64px;
  gap: var(--spacing-lg);
}

.desktop-nav__back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--dark-gray-color);
  text-decoration: none;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.desktop-nav__back-btn:hover {
  background-color: var(--background-color);
  color: var(--point-color);
}

.desktop-nav__logo {
  flex-shrink: 0;
  text-decoration: none;
}

.desktop-nav__logo img {
  height: 40px;
  width: auto;
}

.desktop-nav__logo-icon {
  width: 40px;
  height: 40px;
  stroke: #F96302;
  flex-shrink: 0;
}

.desktop-nav__menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  height: 100%;
  flex-shrink: 0;
}

.desktop-nav__item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 var(--spacing-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-gray-color);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.desktop-nav__item:hover {
  color: var(--point-color);
}

.desktop-nav__item--active {
  color: var(--point-color);
}

.desktop-nav__actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.desktop-nav__search {
  position: relative;
  width: 280px;
}

.desktop-nav__search-input {
  width: 100%;
  height: 40px;
  padding: 0 40px 0 var(--spacing-md);
  border: 1px solid var(--default-color);
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.desktop-nav__search-input:focus {
  border-color: var(--point-color);
}

.desktop-nav__search-btn {
  position: absolute;
  right: var(--spacing-sm);
  top: 50%;
  transform: translateY(-50%);
  padding: var(--spacing-xs);
  border: none;
  background: none;
  cursor: pointer;
  color: var(--gray-color);
}

.desktop-nav__search-btn:hover {
  color: var(--point-color);
}

.desktop-nav__icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--dark-gray-color);
  transition: color 0.2s ease;
}

.desktop-nav__icon-btn:hover {
  color: var(--point-color);
}

.desktop-nav__badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background-color: var(--point-color);
  color: var(--whole-color);
  font-size: 11px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

/* ============================================
   Mega Menu
   ============================================ */
/* ============================================
   Mega Menu - Market Kurly Style
   Left sidebar + Right content panel
   ============================================ */
.mega-menu {
  position: fixed;
  top: 64px;
  left: 0;
  z-index: 99;
  display: none;
  background-color: var(--whole-color);
  border: 1px solid var(--default-color);
  border-top: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 0 0 8px 8px;
}

.mega-menu--open {
  display: block;
}

.mega-menu__panel {
  display: flex;
  min-height: 400px;
  max-height: calc(100vh - 100px);
}

/* Left sidebar - Main categories */
.mega-menu__sidebar {
  width: 200px;
  background-color: var(--background-color);
  border-right: 1px solid var(--default-color);
  overflow-y: auto;
  flex-shrink: 0;
}

.mega-menu__sidebar-item {
  display: block;
  width: 100%;
  padding: var(--spacing-md) var(--spacing-lg);
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-gray-color);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.mega-menu__sidebar-item:hover {
  background-color: var(--whole-color);
  color: var(--point-color);
}

.mega-menu__sidebar-item--active {
  background-color: var(--whole-color);
  color: var(--point-color);
  font-weight: 600;
  border-left: 3px solid var(--point-color);
}

/* Right panel - Subcategories */
.mega-menu__content {
  width: 400px;
  padding: var(--spacing-lg);
  overflow-y: auto;
}

.mega-menu__content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--spacing-md);
  margin-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--default-color);
  text-decoration: none;
  color: var(--black-color);
  transition: color 0.15s ease;
}

.mega-menu__content-header:hover {
  color: var(--point-color);
}

.mega-menu__content-title {
  font-size: 16px;
  font-weight: 600;
}

.mega-menu__subcategories {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.mega-menu__subcategory-item {
  display: block;
  padding: var(--spacing-sm) 0;
  font-size: 14px;
  color: var(--gray-font-color);
  text-decoration: none;
  transition: color 0.15s ease;
  white-space: nowrap;
}

.mega-menu__subcategory-item:hover {
  color: var(--point-color);
}

/* ============================================
   Product Detail Page - Desktop Centering
   ============================================ */
@media (min-width: 1024px) {

  /* Center the main content area */
  .l-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .l-content>* {
    width: 100%;
    max-width: 800px;
  }

  .product-detail {
    max-width: 800px;
    width: 100%;
    padding: 0 var(--spacing-lg);
  }

  .purchase {
    max-width: 800px;
    width: 100%;
    padding: var(--spacing-lg);
    box-sizing: border-box;
  }

  /* Main page should not be constrained */
  .main-view {
    max-width: 100%;
  }
}

/* ============================================
   Bottom Navigation (Mobile - 5 items)
   ============================================ */
.bottom-nav-5 {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 60px;
  background-color: var(--whole-color);
  border-top: 1px solid var(--default-color);
}

@media (min-width: 1024px) {
  .bottom-nav-5 {
    display: none;
  }
}

.bottom-nav-5__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  height: 100%;
  padding: var(--spacing-xs) 0;
  text-decoration: none;
  color: var(--gray-color);
  transition: color 0.2s ease;
  border: none;
  background: none;
  cursor: pointer;
}

.bottom-nav-5__item--active {
  color: var(--point-color);
}

.bottom-nav-5__icon {
  position: relative;
  font-size: 24px;
  margin-bottom: 2px;
}

.bottom-nav-5__badge {
  position: absolute;
  top: -4px;
  right: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background-color: var(--point-color);
  color: var(--whole-color);
  font-size: 10px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
}

.bottom-nav-5__label {
  font-size: 10px;
  font-weight: 500;
}

/* ============================================
   Banner Aspect Ratios
   ============================================ */
/* Desktop banner ratios */
.banner-ratio--16-5 {
  aspect-ratio: 16 / 5;
}

.banner-ratio--16-9 {
  aspect-ratio: 16 / 9;
}

.banner-ratio--4-3 {
  aspect-ratio: 4 / 3;
}

/* Mobile banner ratios */
.banner-ratio--1-1 {
  aspect-ratio: 1 / 1;
}

.banner-ratio--3-4 {
  aspect-ratio: 3 / 4;
}

.banner-ratio--4-5 {
  aspect-ratio: 4 / 5;
}

/* Banner wrapper with object-fit */
.banner-responsive {
  width: 100%;
  overflow: hidden;
}

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

/* ============================================
   Hero Section Platform Variants
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero .banner-responsive {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Default heights (overridden by admin dimensions via inline style) */
.hero--desktop .banner-responsive {
  height: 500px;
  /* fallback if admin height not set */
}

.hero--mobile .banner-responsive {
  height: 400px;
  /* fallback if admin height not set */
}

/* Nav category slider - center items when they don't fill full width */
.nav .swiper-wrapper {
  justify-content: center;
}

.hero .swiper {
  width: 100% !important;
  height: 100% !important;
}

.hero .swiper-wrapper {
  height: 100% !important;
}

.hero .swiper-slide {
  width: 100% !important;
  height: 100% !important;
}

.hero .swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

.hero .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .slide-prev,
.hero .slide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  cursor: pointer;
}

.hero .slide-prev {
  left: 16px;
}

.hero .slide-next {
  right: 16px;
}

.hero--desktop .swiper-button-prev,
.hero--desktop .swiper-button-next {
  display: flex;
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}

.hero--desktop .swiper-button-prev:after,
.hero--desktop .swiper-button-next:after {
  font-size: 20px;
  color: var(--dark-gray-color);
}

.hero--mobile {
  max-height: 400px;
}

.hero--mobile .swiper-slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.hero--mobile .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.5);
}

.hero--mobile .swiper-pagination-bullet-active {
  background-color: var(--whole-color);
}

/* ============================================
   Spacing Utilities
   ============================================ */
.mt-0 {
  margin-top: 0;
}

.mt-sm {
  margin-top: var(--spacing-sm);
}

.mt-md {
  margin-top: var(--spacing-md);
}

.mt-lg {
  margin-top: var(--spacing-lg);
}

.mt-xl {
  margin-top: var(--spacing-xl);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-sm {
  margin-bottom: var(--spacing-sm);
}

.mb-md {
  margin-bottom: var(--spacing-md);
}

.mb-lg {
  margin-bottom: var(--spacing-lg);
}

.mb-xl {
  margin-bottom: var(--spacing-xl);
}

.py-sm {
  padding-top: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
}

.py-md {
  padding-top: var(--spacing-md);
  padding-bottom: var(--spacing-md);
}

.py-lg {
  padding-top: var(--spacing-lg);
  padding-bottom: var(--spacing-lg);
}

.py-xl {
  padding-top: var(--spacing-xl);
  padding-bottom: var(--spacing-xl);
}

.px-sm {
  padding-left: var(--spacing-sm);
  padding-right: var(--spacing-sm);
}

.px-md {
  padding-left: var(--spacing-md);
  padding-right: var(--spacing-md);
}

.px-lg {
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-lg);
}

.px-xl {
  padding-left: var(--spacing-xl);
  padding-right: var(--spacing-xl);
}

/* ============================================
   Text Utilities
   ============================================ */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-ellipsis-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============================================
   Category Grid - Looktake Design System
   Hierarchical category display:
   - Main categories: Large, prominent, selectable
   - Subcategories: Smaller, grouped below
   ============================================ */

/* Looktake Orange color variable */
:root {
  --looktake-orange: #FF6F3C;
  --looktake-orange-light: #FFF4F0;
  --looktake-orange-hover: #E5623A;
  --looktake-orange-dark: #D95A2E;
}

.category-grid {
  background-color: var(--whole-color);
  border-bottom: 1px solid var(--default-color);
}

/* ============================================
   Main Categories - Top Level (BEAUTY, HAIR, FASHION)
   ============================================ */
.category-grid__main {
  padding: var(--spacing-lg) 0;
  background: linear-gradient(180deg, var(--whole-color) 0%, var(--background-color) 100%);
}

.category-grid__main-container {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  padding: 0 var(--spacing-md);
  max-width: var(--container-lg);
  margin: 0 auto;
}

/* Mobile: tighter spacing */
@media (max-width: 767px) {
  .category-grid__main {
    padding: var(--spacing-md) 0;
  }

  .category-grid__main-container {
    gap: var(--spacing-sm);
    padding: 0 var(--spacing-sm);
  }
}

.category-grid__main-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  max-width: 140px;
  padding: var(--spacing-md);
  background-color: var(--whole-color);
  border: 2px solid var(--default-color);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

@media (hover: hover) {
  .category-grid__main-item:hover {
    border-color: var(--looktake-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 111, 60, 0.15);
  }

  .category-grid__main-item:hover .category-grid__main-icon {
    background-color: var(--looktake-orange);
    color: var(--whole-color);
  }
}

.category-grid__main-item--active {
  border-color: var(--looktake-orange);
  background-color: var(--looktake-orange-light);
  box-shadow: 0 4px 12px rgba(255, 111, 60, 0.2);
}

.category-grid__main-item--active .category-grid__main-icon {
  background-color: var(--looktake-orange);
  color: var(--whole-color);
}

.category-grid__main-item--active .category-grid__main-label {
  color: var(--looktake-orange-dark);
  font-weight: 700;
}

.category-grid__main-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: var(--spacing-sm);
  background-color: var(--looktake-orange-light);
  border-radius: 50%;
  color: var(--looktake-orange);
  transition: all 0.2s ease;
}

.category-grid__main-icon svg {
  width: 28px;
  height: 28px;
}

/* Mobile: smaller main icons */
@media (max-width: 767px) {
  .category-grid__main-item {
    padding: var(--spacing-sm);
    border-radius: 12px;
  }

  .category-grid__main-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--spacing-xs);
  }

  .category-grid__main-icon svg {
    width: 24px;
    height: 24px;
  }
}

.category-grid__main-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark-gray-color);
  text-align: center;
  transition: color 0.2s ease;
}

/* Mobile: smaller text */
@media (max-width: 767px) {
  .category-grid__main-label {
    font-size: 12px;
  }
}

.category-grid__main-count {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background-color: var(--gray-color);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--whole-color);
  line-height: 20px;
  text-align: center;
}

.category-grid__main-item--active .category-grid__main-count {
  background-color: var(--looktake-orange);
}

/* ============================================
   Subcategories - Second Level
   ============================================ */
.category-grid__sub {
  padding: var(--spacing-md) 0;
  background-color: var(--background-color);
  border-top: 1px solid var(--default-color);
}

.category-grid__sub-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 0 var(--spacing-md);
  max-width: var(--container-lg);
  margin: 0 auto;
}

/* Mobile: horizontal scroll with fade hint */
@media (max-width: 767px) {
  .category-grid__sub {
    position: relative;
    padding: var(--spacing-sm) 0;
  }

  .category-grid__sub::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 32px;
    background: linear-gradient(to right, transparent, var(--background-color, #fff));
    pointer-events: none;
    z-index: 1;
  }

  .category-grid__sub-container {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: var(--spacing-xs) var(--spacing-sm);
    gap: var(--spacing-xs);
  }

  .category-grid__sub-container::-webkit-scrollbar {
    display: none;
  }
}

.category-grid__sub-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-md);
  background-color: var(--whole-color);
  border: 1px solid var(--default-color);
  border-radius: 20px;
  text-decoration: none;
  color: var(--dark-gray-color);
  transition: all 0.2s ease;
  white-space: nowrap;
  scroll-snap-align: start;
}

@media (hover: hover) {
  .category-grid__sub-item:hover {
    border-color: var(--looktake-orange);
    background-color: var(--looktake-orange-light);
    color: var(--looktake-orange);
  }

  .category-grid__sub-item:hover .category-grid__sub-icon {
    color: var(--looktake-orange);
  }
}

.category-grid__sub-item:active {
  transform: scale(0.98);
}

.category-grid__sub-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--gray-color);
  transition: color 0.2s ease;
}

.category-grid__sub-icon svg {
  width: 18px;
  height: 18px;
}

.category-grid__sub-label {
  font-size: 13px;
  font-weight: 500;
}

/* Mobile: smaller text */
@media (max-width: 767px) {
  .category-grid__sub-item {
    padding: var(--spacing-xs) var(--spacing-sm);
  }

  .category-grid__sub-icon {
    width: 20px;
    height: 20px;
  }

  .category-grid__sub-icon svg {
    width: 16px;
    height: 16px;
  }

  .category-grid__sub-label {
    font-size: 12px;
  }
}

/* ============================================
   View All Link
   ============================================ */
.category-grid__view-all {
  display: flex;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-md);
  background-color: var(--background-color);
  border-top: 1px solid var(--default-color);
}

.category-grid__view-all-link {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--looktake-orange);
  text-decoration: none;
  transition: all 0.2s ease;
}

@media (hover: hover) {
  .category-grid__view-all-link:hover {
    color: var(--looktake-orange-dark);
  }

  .category-grid__view-all-link:hover svg {
    transform: translateX(4px);
  }
}

.category-grid__view-all-link svg {
  transition: transform 0.2s ease;
}
/* ===========================
   Partner Components Styles
   =========================== */

/* Partner Badge - Clickable badge on product cards */
.partner-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  font-size: 11px;
  color: var(--gray-color);
  background-color: var(--background-color);
  border-radius: 12px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.partner-badge:hover {
  background-color: var(--default-color);
  color: var(--dark-gray-color);
}

/* Partner Info - Block on product detail page */
.partner-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
  padding: 12px 0;
  border-top: 1px solid var(--default-color);
  border-bottom: 1px solid var(--default-color);
}

.partner-info__label {
  font-size: 13px;
  color: var(--gray-color);
  flex-shrink: 0;
}

.partner-info__link {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--default-font-color);
}

.partner-info__link:hover {
  color: var(--point-color-secondary);
}

.partner-info__name {
  font-size: 14px;
  font-weight: 500;
}

.partner-info__icon {
  width: 12px;
  height: 12px;
  opacity: 0.5;
}

/* Partner List Item - Card on partners browse page */
.partner-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background-color: var(--whole-color);
  border-bottom: 1px solid var(--default-color);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
}

.partner-list-item:hover {
  background-color: var(--background-color);
}

.partner-list-item__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--background-color);
  border-radius: 50%;
  flex-shrink: 0;
}

.partner-list-item__avatar-icon {
  width: 24px;
  height: 24px;
  opacity: 0.5;
}

.partner-list-item__content {
  flex: 1;
  min-width: 0;
}

.partner-list-item__name {
  font-size: 15px;
  font-weight: 500;
  color: var(--default-font-color);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.partner-list-item__company {
  font-size: 13px;
  color: var(--gray-color);
  margin: 4px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.partner-list-item__arrow {
  width: 16px;
  height: 16px;
  opacity: 0.3;
  flex-shrink: 0;
}

/* Partners Page */
.partners-page {
  min-height: 100vh;
  background-color: var(--background-color);
}

.partners-page__header {
  padding: 16px;
  background-color: var(--whole-color);
  border-bottom: 1px solid var(--default-color);
}

.partners-page__count {
  font-size: 13px;
  color: var(--gray-color);
}

.partners-page__list {
  background-color: var(--whole-color);
}

.partners-page__empty,
.partners-page__error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: var(--gray-color);
}

.partners-page__empty p,
.partners-page__error p {
  margin-top: 16px;
  font-size: 14px;
}

/* Partner Shop Page */
.partner-shop {
  min-height: 100vh;
  background-color: var(--background-color);
}

.partner-shop__not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: var(--gray-color);
}

.partner-shop__not-found p {
  margin-top: 16px;
  font-size: 14px;
}

/* Partner Shop Header - Enhanced */
.partner-shop-header {
  background-color: var(--whole-color);
  border-bottom: 1px solid var(--default-color);
}

.partner-shop-header__banner {
  width: 100%;
  height: 150px;
  overflow: hidden;
  background-color: var(--background-color);
}

.partner-shop-header__banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-shop-header__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  text-align: center;
}

.partner-shop-header__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--background-color);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: -40px;
  border: 3px solid var(--whole-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.partner-shop-header__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.partner-shop-header__avatar-icon {
  width: 40px;
  height: 40px;
  opacity: 0.5;
}

.partner-shop-header__info {
  margin-top: 12px;
}

.partner-shop-header__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--default-font-color);
  margin: 0;
}

.partner-shop-header__company {
  font-size: 14px;
  color: var(--gray-color);
  margin: 4px 0 0;
}

.partner-shop-header__intro {
  margin: 12px 0 0;
  padding: 0 16px;
  font-size: 14px;
  color: var(--gray-font-color);
  line-height: 1.5;
  max-width: 400px;
}

.partner-shop-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
  padding: 6px 12px;
  background: linear-gradient(135deg, #ff6f3c 0%, #ff9a3c 100%);
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--whole-color);
}

.partner-shop-header__badge-icon {
  width: 14px;
  height: 14px;
}

/* Partner Shop Header - Without Banner */
.partner-shop-header:not(:has(.partner-shop-header__banner)) .partner-shop-header__avatar {
  margin-top: 0;
}

/* ===========================
   Brand Components Styles
   =========================== */

/* Brand List Item - Card on brands browse page */
.brand-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background-color: var(--whole-color);
  border-bottom: 1px solid var(--default-color);
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
}

.brand-list-item:hover {
  background-color: var(--background-color);
}

.brand-list-item__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--background-color);
  border-radius: 8px;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-list-item__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-list-item__avatar-icon {
  width: 24px;
  height: 24px;
  opacity: 0.5;
}

.brand-list-item__content {
  flex: 1;
  min-width: 0;
}

.brand-list-item__name {
  font-size: 15px;
  font-weight: 500;
  color: var(--default-font-color);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-list-item__arrow {
  width: 16px;
  height: 16px;
  opacity: 0.3;
  flex-shrink: 0;
}

/* Brands Page */
.brands-page {
  min-height: 100vh;
  background-color: var(--background-color);
}

.brands-page__header {
  padding: 16px;
  background-color: var(--whole-color);
  border-bottom: 1px solid var(--default-color);
}

.brands-page__count {
  font-size: 13px;
  color: var(--gray-color);
}

.brands-page__list {
  background-color: var(--whole-color);
}

.brands-page__empty,
.brands-page__error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: var(--gray-color);
}

.brands-page__empty p,
.brands-page__error p {
  margin-top: 16px;
  font-size: 14px;
}

/* Brand Shop Page */
.brand-shop {
  min-height: 100vh;
  background-color: var(--background-color);
}

.brand-shop__not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
  color: var(--gray-color);
}

.brand-shop__not-found p {
  margin-top: 16px;
  font-size: 14px;
}

/* Brand Section - Horizontal scroll on main page */
.brand-section {
  background-color: var(--whole-color);
  padding-bottom: 20px;
}

.brand-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-section__more {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  color: var(--gray-color);
  text-decoration: none;
}

.brand-section__more:hover {
  color: var(--point-color);
}

.brand-section__scroll {
  display: flex;
  justify-content: center;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.brand-section__scroll::-webkit-scrollbar {
  display: none;
}

.brand-section__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.brand-section__thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--background-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s ease;
}

.brand-section__item:hover .brand-section__thumb {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.brand-section__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-section__thumb-icon {
  width: 32px;
  height: 32px;
  opacity: 0.4;
}

.brand-section__name {
  font-size: 12px;
  font-weight: 500;
  color: var(--default-font-color);
  max-width: 72px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Brand Shop Header */
.brand-shop-header {
  background-color: var(--whole-color);
  border-bottom: 1px solid var(--default-color);
}

.brand-shop-header__banner {
  width: 100%;
  height: 150px;
  overflow: hidden;
  background-color: var(--background-color);
}

.brand-shop-header__banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-shop-header__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  text-align: center;
}

.brand-shop-header__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--background-color);
  border-radius: 12px;
  flex-shrink: 0;
  margin-top: -40px;
  border: 3px solid var(--whole-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.brand-shop-header__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-shop-header__avatar-icon {
  width: 40px;
  height: 40px;
  opacity: 0.5;
}

.brand-shop-header__info {
  margin-top: 12px;
}

.brand-shop-header__name {
  font-size: 20px;
  font-weight: 700;
  color: var(--default-font-color);
  margin: 0;
}

.brand-shop-header__intro {
  margin: 12px 0 0;
  padding: 0 16px;
  font-size: 14px;
  color: var(--gray-font-color);
  line-height: 1.5;
  max-width: 400px;
}

/* Brand Shop Header - Without Banner */
.brand-shop-header:not(:has(.brand-shop-header__banner)) .brand-shop-header__avatar {
  margin-top: 0;
}

@charset 'utf-8';

:root {
  --whole-color: #fff;
  --background-color: #f5f6f8;
  --point-color: #ff6f3c;
  --point-color-secondary: #ff6f3c;
  /* unified with point-color for fashion-minimal theme */
  --black-color: #111;
  --dark-gray-color: #262626;

  --empty-color: #f5f6f8;
  --default-color: #eee;
  --blue-gray-color: #3f434c;
  --gray-color: #999;
  --gray-font-color: #828282;
  --tooltip-bg-color: #f7f7f7;

  --default-font-color: #181818;
}

/* Order Sheet - Required Field Indicator */
.order-sheet__item-subject--required::after {
  content: ' *';
  color: #ff6f3c;
  font-weight: 700;
}

/* LookTake Custom Styles - Max Benefit Price */
.product-summary__max-benefit {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #fff8f5 0%, #ffe8de 100%);
  border-radius: 8px;
}

.product-summary__max-benefit-label {
  font-size: 12px;
  font-weight: 600;
  color: #ff6f3c;
  padding: 2px 6px;
  background: #fff;
  border-radius: 4px;
}

.product-summary__max-benefit-price {
  font-size: 18px;
  font-weight: 700;
  color: #ff6f3c;
}

.product-summary__max-benefit-price span {
  font-size: 14px;
  font-weight: 500;
}

.product-summary__max-benefit-coupon {
  font-size: 11px;
  color: #999;
}

.product-summary__login-benefit {
  margin-top: 8px;
  padding: 8px 12px;
  background: #f5f6f8;
  border-radius: 8px;
  font-size: 13px;
  color: #666;
  text-align: center;
  cursor: pointer;
}

.product-summary__login-benefit:hover {
  background: #eee;
}

/* LookTake Auth Callback */
.looktake-auth-callback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 20px;
}

.looktake-auth-callback__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 320px;
}

.looktake-auth-callback__spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #f0f0f0;
  border-top-color: #ff6f3c;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.looktake-auth-callback__icon--success {
  width: 64px;
  height: 64px;
  color: #22c55e;
}

.looktake-auth-callback__icon--error {
  width: 64px;
  height: 64px;
  color: #ef4444;
}

.looktake-auth-callback__message {
  margin-top: 16px;
  font-size: 16px;
  color: #333;
}

.looktake-auth-callback__message--error {
  color: #ef4444;
}

.looktake-auth-callback__actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.looktake-auth-callback__btn {
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.looktake-auth-callback__btn--retry {
  background: #ff6f3c;
  color: #fff;
  border: none;
}

.looktake-auth-callback__btn--retry:hover {
  background: #e55a2b;
}

.looktake-auth-callback__btn--home {
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
}

.looktake-auth-callback__btn--home:hover {
  background: #f5f5f5;
}

/* LookTake Share Button on Product Detail */
.product-summary__share-looktake {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #ff6f3c;
  background: #fff;
  border: 1px solid #ff6f3c;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.product-summary__share-looktake:hover {
  background: #ff6f3c;
  color: #fff;
}

/* LookTake Posts Grid on Product Detail */
.looktake-posts {
  padding: 24px 16px;
  border-top: 1px solid #eee;
}

.looktake-posts__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.looktake-posts__title {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin: 0;
}

.looktake-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.looktake-posts__item {
  position: relative;
  width: 100%;
  padding-top: 100%;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  overflow: hidden;
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

.looktake-posts__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* LookTake Login Redirect Page */
.looktake-login-redirect {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 20px;
}

.looktake-login-redirect__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 320px;
}

.looktake-login-redirect__icon {
  margin-bottom: 16px;
}

.looktake-login-redirect__message {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin: 0 0 8px;
  line-height: 1.4;
  word-break: keep-all;
}

.looktake-login-redirect__sub-message {
  font-size: 14px;
  color: #888;
  margin: 0;
}

.looktake-login-redirect__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  width: 100%;
}

.looktake-login-redirect__btn {
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  background: #ff6f3c;
  color: #fff;
  border: none;
}

.looktake-login-redirect__btn:hover {
  background: #e55a2b;
}

.looktake-login-redirect__btn--secondary {
  background: #fff;
  color: #555;
  border: 1px solid #ddd;
}

.looktake-login-redirect__btn--secondary:hover {
  background: #f5f5f5;
}

/* Product Detail - Write Review Button */
.product-content-review__write-btn-area {
  display: flex;
  justify-content: flex-end;
  padding: 0 16px 12px;
}

.product-content-review__write-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #ff6f3c;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.product-content-review__write-btn:hover {
  background: #e55a2b;
}

/* LookTake Fallback Banner (Product Detail) */
.looktake-fallback-banner {
  display: block;
  margin: 16px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #fff5f0 0%, #ffe0d2 100%);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.looktake-fallback-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 111, 60, 0.15);
}

.looktake-fallback-banner__content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.looktake-fallback-banner__badge {
  display: inline-block;
  width: fit-content;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #ff6f3c;
  border-radius: 12px;
  letter-spacing: 0.5px;
}

.looktake-fallback-banner__title {
  margin: 4px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

.looktake-fallback-banner__cta {
  margin: 2px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: #ff6f3c;
}

/* Product Detail - Back Button on Image Slider */
.product-image-slider__wrapper {
  position: relative;
}

.product-image-slider__back-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.product-image-slider__back-btn:hover {
  background: rgba(0, 0, 0, 0.55);
}

/* ============================================
   Category Callout - Fashion-only flat list
   ============================================ */
.category-callout__list--flat {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 16px;
}

.category-callout__list--flat .category-callout__link {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-gray-color);
  background-color: var(--background-color);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.15s ease;
}

.category-callout__list--flat .category-callout__link:hover {
  background-color: var(--looktake-orange-light, #FFF4F0);
  color: var(--point-color);
}

.category-callout__list--flat .category-callout__link.is-active {
  background-color: var(--point-color);
  color: var(--whole-color);
  font-weight: 600;
}

/* ============================================
   Mobile Header - Back to LookTake button
   ============================================ */
.header__left-group {
  display: flex;
  align-items: center;
  gap: 0;
}

.header__back-home-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--dark-gray-color);
  text-decoration: none;
  transition: color 0.15s ease;
}

.header__back-home-btn:hover {
  color: var(--point-color);
}

/* ============================================
   Fashion Category Nav - LookTake pictogram style
   Line icons on soft orange-tinted circles
   ============================================ */
.fashion-cat-nav {
  background-color: var(--whole-color);
  padding: 16px 0 12px;
}

.fashion-cat-nav__list {
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 0 12px;
  justify-content: center;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.fashion-cat-nav__list::-webkit-scrollbar {
  display: none;
}

.fashion-cat-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  width: 64px;
  padding: 4px 0;
  text-decoration: none;
  color: var(--dark-gray-color);
  transition: transform 0.15s ease;
}

.fashion-cat-nav__item:active {
  transform: scale(0.92);
}

@media (hover: hover) {
  .fashion-cat-nav__item:hover {
    transform: translateY(-2px);
  }

  .fashion-cat-nav__item:hover .fashion-cat-nav__icon {
    background-color: #ffe8de;
    color: var(--point-color);
    box-shadow: 0 4px 12px rgba(255, 111, 60, 0.12);
  }
}

.fashion-cat-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background-color: #fff4f0;
  color: var(--point-color);
  transition: all 0.2s ease;
}

.fashion-cat-nav__icon svg {
  width: 22px;
  height: 22px;
}

.fashion-cat-nav__label {
  font-size: 11px;
  font-weight: 500;
  color: var(--dark-gray-color);
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -0.2px;
}

/* Desktop: center and space out */
@media (min-width: 1024px) {
  .fashion-cat-nav {
    padding: 20px 0 16px;
    border-bottom: 1px solid var(--default-color);
  }

  .fashion-cat-nav__list {
    justify-content: center;
    overflow-x: visible;
    gap: 4px;
    padding: 0 24px;
  }

  .fashion-cat-nav__item {
    width: 72px;
    gap: 8px;
  }

  .fashion-cat-nav__icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .fashion-cat-nav__icon svg {
    width: 24px;
    height: 24px;
  }

  .fashion-cat-nav__label {
    font-size: 12px;
  }
}

/* ============================================
   Product Card - Fashion Minimal Style
   ============================================ */
.product-thumb-item {
  transition: transform 0.2s ease;
}

@media (hover: hover) {
  .product-thumb-item:hover {
    transform: translateY(-2px);
  }
}

.product-thumb-item .thumb-item__media img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.product-thumb-item__brand {
  font-size: 11px;
  color: var(--gray-color);
  margin-top: 8px;
  margin-bottom: 2px;
}

.product-thumb-item__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--black-color);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-thumb-item__amount-wrap {
  margin-top: 4px;
}

.product-thumb-item__amount li {
  font-size: 14px;
  font-weight: 700;
  color: var(--black-color);
}

/* Cart Fixed Order Button - Center alignment fix */
.cart__fixed-order-btn {
  left: 50%;
  transform: translateX(-50%);
}

/* ============================================
   Product Summary - Action Buttons Row
   ============================================ */
.product-summary__action-btns {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* ============================================
   Try-On Button (Product Detail)
   ============================================ */
.product-summary__try-on-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--point-color);
  background: #fff;
  border: 1px solid var(--point-color);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.product-summary__try-on-btn:hover {
  background: var(--point-color);
  color: #fff;
}

/* ============================================
   TryOnModal - Virtual Try-On Overlay
   ============================================ */
.try-on-modal__overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 16px;
}

.try-on-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.try-on-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--default-color);
  flex-shrink: 0;
}

.try-on-modal__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--black-color);
  margin: 0;
}

.try-on-modal__close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  color: var(--gray-color);
  cursor: pointer;
  border-radius: 8px;
  transition: background 0.15s;
}

.try-on-modal__close-btn:hover {
  background: var(--background-color);
}

.try-on-modal__body {
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}

/* Upload View */
.try-on-modal__upload-view {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.try-on-modal__product-ref {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.try-on-modal__product-ref-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.try-on-modal__product-ref-img {
  width: 120px;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--default-color);
}

.try-on-modal__upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 20px;
  border: 2px dashed var(--default-color);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--gray-color);
}

.try-on-modal__upload-zone:hover {
  border-color: var(--point-color);
  background: #fff8f5;
  color: var(--point-color);
}

.try-on-modal__upload-text {
  font-size: 14px;
  font-weight: 600;
  margin: 4px 0 0;
}

.try-on-modal__upload-hint {
  font-size: 12px;
  color: var(--gray-color);
  margin: 0;
}

.try-on-modal__file-input {
  display: none;
}

.try-on-modal__error {
  font-size: 13px;
  color: #ef4444;
  text-align: center;
  margin: 0;
}

.try-on-modal__guidelines {
  padding: 12px 16px;
  background: var(--background-color);
  border-radius: 8px;
}

.try-on-modal__guidelines-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark-gray-color);
  margin: 0 0 6px;
}

.try-on-modal__guidelines-list {
  margin: 0;
  padding: 0 0 0 18px;
  font-size: 12px;
  color: var(--gray-font-color);
  line-height: 1.8;
}

/* Center View (validating, uploading, processing, error) */
.try-on-modal__center-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  gap: 16px;
  min-height: 200px;
}

.try-on-modal__status-text {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark-gray-color);
  margin: 0;
}

.try-on-modal__status-hint {
  font-size: 13px;
  color: var(--gray-color);
  margin: 0;
}

.try-on-modal__error-text {
  font-size: 14px;
  color: #ef4444;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}

.try-on-modal__spinner-svg {
  animation: spin 1s linear infinite;
  color: var(--point-color);
}

/* Confirm View */
.try-on-modal__confirm-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.try-on-modal__compare {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.try-on-modal__compare-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.try-on-modal__compare-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-color);
}

.try-on-modal__compare-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--default-color);
}

.try-on-modal__compare-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 20px;
}

.try-on-modal__credit-info {
  font-size: 14px;
  color: var(--dark-gray-color);
  margin: 0;
  padding: 8px 16px;
  background: #fff8f5;
  border-radius: 8px;
}

.try-on-modal__credit-info strong {
  color: var(--point-color);
  font-weight: 700;
}

.try-on-modal__confirm-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

/* Result View */
.try-on-modal__result-view {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.try-on-modal__result-images {
  display: flex;
  gap: 10px;
}

.try-on-modal__result-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.try-on-modal__result-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--gray-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.try-on-modal__result-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
}

.try-on-modal__result-actions {
  display: flex;
  gap: 10px;
}

/* Shared Buttons */
.try-on-modal__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  text-align: center;
}

.try-on-modal__btn--primary {
  background: var(--point-color);
  color: #fff;
  border: none;
}

.try-on-modal__btn--primary:hover {
  background: #e55a2b;
}

.try-on-modal__btn--secondary {
  background: #fff;
  color: var(--dark-gray-color);
  border: 1px solid var(--default-color);
}

.try-on-modal__btn--secondary:hover {
  background: var(--background-color);
}

/* Mobile: full-screen modal */
@media (max-width: 640px) {
  .try-on-modal__overlay {
    padding: 0;
    align-items: flex-end;
  }

  .try-on-modal {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 16px 16px 0 0;
  }
}

.page__content {
  max-width: none;
}

.header__title {
  padding-top: 20px;
}

.offcanvas {
  max-width: none;
  width: 100%;
}

.footer {
  padding: 30px 20px;
}

.footer--cart,
.footer--detail {
  padding: 30px 20px 100px 20px;
}

.header {
  min-height: 57px;
}

.header__left-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
}

.back-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--black-color);
}

.header__right-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.header__cart-btn {
  right: 100px;
}

.header__cart-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 16px;
  height: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--point-color);
  border-radius: 50%;
  text-align: center;
  color: #fff;
  font-size: 10px;
}

.header__wish-list-btn {
  right: 55px;
}

.header__my-page-btn {
  right: 10px;
}

.header__brand {
  display: flex;
  position: absolute;
  left: 10px;
  top: 25%;
  align-items: center;
  gap: 4px;
  font-size: 1.8rem;
  font-weight: 800;
  color: rgb(249, 99, 2);
  letter-spacing: -0.5px;
}

.header__brand-name {
  line-height: 1;
}

.fab-top-down {
  display: flex;
  flex-direction: column;
  gap: 8px;
  bottom: 8rem;
  z-index: 2;
}

.category-menu__slide {
  justify-content: safe center;
}

.category-menu__slide .category-menu__link.is-active {
  background: rgb(249, 99, 2);
  color: #fff;
}

.fashion-cat-nav__list {
  justify-content: safe center;
}

.product-detail .tabs {
  top: 57px;
}

.layout-desktop .product-detail .tabs {
  top: 0;
}

.product-content__box {
  scroll-margin-top: 110px;
}

.category-menu__slide {
  padding-bottom: 5px;
}

.category-content {
  line-height: normal;
}

.total-sort {
  top: 57px;
}

.layout-desktop .total-sort {
  top: 0;
}

.product-detail.purchase {
  max-width: none;
}

.layout-desktop .product-detail.purchase {
  max-width: 800px;
}

.purchase__option {
  max-height: 60vh;
  overflow-x: hidden;
}

.purchase__overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 5;
}

/* ── Modal ── */
.portal {
  background-color: rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal {
  border-radius: 20px;
}

.modal__box {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  min-width: 280px;
  max-width: 320px;
}

.modal__content {
  min-height: unset;
  padding: 28px 24px 20px;
}

.modal__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #222;
  font-weight: 400;
  text-align: center;
  word-break: keep-all;
}

.modal__btns {
  display: flex;
  border-top: 1px solid #f0f0f0;
  padding: 0;
}

.modal__btns button {
  flex: 1;
  height: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  border-color: #f0f0f0;
  background: none;
  cursor: pointer;
  color: black;
}

.modal__btns button+button {
  color: rgb(249, 99, 2);
  border-left: 1px solid #f0f0f0 !important;
  font-weight: 600;
}

.modal__btns button:active {
  background-color: #fafafa;
}

.modal__btns button:active {
  background-color: #f8f8f8;
}

.full-modal {
  max-height: 80vh;
  overflow-y: auto;
}

.title-modal--full .title-modal__content {
  height: 70vh;
}

.modal__box,
.modal__box--alert,
.modal__box--confirm {
  min-height: 0px;
}

.cart__fixed-order-btn {
  max-width: none;
}
