@import url('animations.css');

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #C4A052;
  --gold-dark: #A8863A;
  --gold-light: #D4B96A;
  --gold-pale: #F5F0E6;
  --cream: #FAF7F2;
  --white: #ffffff;
  --gray-50: #F8F8F8;
  --gray-100: #F0F0F0;
  --gray-200: #E5E5E5;
  --gray-400: #999999;
  --gray-600: #666666;
  --gray-800: #333333;
  --black: #333333;
  --red: #E53935;
  --blue: #1565C0;
  --radius: 10px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.07);
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.up { color: var(--red); }

.down { color: var(--blue); }

/* ===== Top Bar ===== */
.top-bar {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.8125rem;
  color: var(--gray-600);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
}

.gold-ticker {
  display: flex;
  align-items: center;
  gap: 6px;
}

.gold-ticker strong {
  color: var(--black);
  font-weight: 600;
}

.ticker-change {
  display: inline-flex;
  align-items: center;
  font-size: 0.625rem;
  width: 14px;
  height: 14px;
  border-radius: 2px;
  justify-content: center;
}

.ticker-change.up {
  color: var(--red);
  background: rgba(229, 57, 53, 0.08);
}

.ticker-change.down {
  color: var(--blue);
  background: rgba(21, 101, 192, 0.08);
}

.ticker-note {
  color: var(--gray-400);
  font-size: 0.75rem;
  margin-left: 4px;
}

.top-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-links a:hover {
  color: var(--gold);
}

.top-links .divider {
  color: var(--gray-200);
  font-size: 0.625rem;
}

/* ===== Main Header (2-row) ===== */
.main-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-top-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  height: 64px;
  position: relative;
}

.hamburger {
  font-size: 1.25rem;
  color: var(--gray-800);
  padding: 8px;
  justify-self: start;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  grid-column: 2;
  height: 48px;
}

.logo img {
  width: auto;
  height: 38px;
  max-width: 200px;
  object-fit: contain;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
  grid-column: 3;
}

.header-nav-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  padding: 12px 0 16px;
  border-top: 1px solid var(--gray-100);
}

.header-nav-row a,
.header-nav-row .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-800);
  white-space: nowrap;
  transition: color 0.2s;
}

.header-nav-row a:hover,
.header-nav-row .nav-link:hover {
  color: var(--gold);
}

.main-nav .nav-link.is-active,
.mobile-nav .nav-link.is-active {
  color: var(--gold);
  font-weight: 600;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 12px 0 20px;
  border-top: 1px solid var(--gray-100);
}

.mobile-nav a {
  padding: 12px 8px;
  font-size: 0.9375rem;
  color: var(--gray-800);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav a:hover,
.mobile-nav a.is-active {
  color: var(--gold);
}

.mobile-nav-divider {
  height: 1px;
  background: var(--gray-200);
  margin: 8px 0;
}

.mobile-nav.is-open {
  display: flex;
}

@media (min-width: 1025px) {
  .mobile-nav {
    display: none !important;
  }
}

.search-box {
  display: flex;
  align-items: center;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 24px;
  padding: 0 16px;
  width: 240px;
  height: 40px;
}

.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.8125rem;
  outline: none;
  font-family: inherit;
}

.search-box input::placeholder {
  color: var(--gray-400);
}

.search-box button {
  color: var(--gray-600);
  font-size: 0.875rem;
}

.icon-btn {
  font-size: 1.2rem;
  color: var(--gray-800);
  position: relative;
  padding: 4px;
  transition: color 0.2s;
}

.icon-btn:hover {
  color: var(--gold);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--gold);
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== Hero Section ===== */
.hero {
  padding: 0;
  background: var(--cream);
}

.hero-banner {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
}

.hero-banner-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-content-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.hero-content-wrap .hero-content {
  pointer-events: auto;
}

.hero-content {
  max-width: 440px;
  padding: 40px 0;
}
.hero-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 20px;
}

.hero-tag i {
  font-size: 0.5rem;
}

.hero-title {
  font-size: 2.625rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-desc {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 56px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-sm {
  padding: 11px 22px;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--gold-dark);
  color: var(--white);
}

.btn-primary:hover {
  background: #8F7232;
}

.btn-outline {
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--gray-200);
}

.btn-outline--gold {
  border-color: var(--gold);
  color: var(--gray-800);
}

.btn-outline--gold:hover {
  background: var(--gold-pale);
  border-color: var(--gold-dark);
  color: var(--gold-dark);
}

.hero-pagination {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  color: var(--gray-600);
}

.page-current {
  font-weight: 600;
  color: var(--black);
}

.page-sep {
  color: var(--gray-400);
  letter-spacing: 1px;
}

.page-arrows {
  display: flex;
  gap: 6px;
  margin-left: 12px;
}

.page-arrows button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  color: var(--gray-600);
  background: var(--white);
  transition: all 0.2s;
}

.page-arrows button:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ===== Categories (Circular) ===== */
.categories {
  margin-top: 0;
  position: relative;
  z-index: 10;
  padding-bottom: 56px;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.category-card--circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 12px 22px;
  box-shadow: var(--shadow);
  transition: all 0.25s;
}

.category-card--circle:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.category-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.625rem;
  color: var(--gold);
  background: linear-gradient(145deg, var(--gold-pale) 0%, var(--white) 100%);
  border-radius: 50%;
  border: 1px solid rgba(196, 160, 82, 0.2);
  box-shadow: inset 0 -2px 4px rgba(196, 160, 82, 0.1), 0 2px 8px rgba(0, 0, 0, 0.04);
}

.category-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-800);
}

/* ===== Main Content Grid ===== */
.main-content {
  padding: 48px 0 72px;
}

.content-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}

/* Price Card */
.price-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.price-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
}

.price-card-header h3 {
  font-size: 1rem;
  font-weight: 600;
}

.price-timestamp {
  font-size: 0.75rem;
  color: var(--gray-400);
}

.price-label {
  font-size: 0.8125rem;
  color: var(--gray-600);
  display: block;
  margin-bottom: 6px;
}

.price-value-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}

.price-value {
  font-size: 2.125rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: -0.02em;
}

.price-change-detail {
  font-size: 0.8125rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 2px;
}

.price-change-detail.up {
  color: var(--red);
}

.price-change-detail.down {
  color: var(--blue);
}

.price-row dd.down {
  color: var(--blue);
}

.price-source-note {
  margin-top: 12px;
  font-size: 0.6875rem;
  color: var(--gray-400);
  line-height: 1.5;
}

/* External price source links */
.price-sources {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid var(--gray-200);
}

.price-sources h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.price-sources-note {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.price-sources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.price-source-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 18px 16px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition:
    border-color var(--duration-normal, 0.35s) ease,
    box-shadow var(--duration-normal, 0.35s) ease,
    transform var(--duration-fast, 0.2s) ease;
  position: relative;
  min-height: 108px;
}

.price-source-btn:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.price-source-btn > .fa-solid:first-child {
  font-size: 1.125rem;
  color: var(--gold);
}

.price-source-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--black);
}

.price-source-desc {
  font-size: 0.75rem;
  color: var(--gray-600);
  line-height: 1.45;
  padding-right: 16px;
}

.price-source-ext {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.6875rem;
  color: var(--gray-400);
  transition: color 0.2s ease;
}

.price-source-btn:hover .price-source-ext {
  color: var(--gold);
}

@media (max-width: 1024px) {
  .price-sources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .price-sources-grid {
    grid-template-columns: 1fr;
  }
}


.price-details {
  margin-bottom: 18px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--gray-100);
}

.price-row:last-child {
  border-bottom: none;
}

.price-row dt {
  color: var(--gray-600);
}

.price-row dd {
  font-weight: 500;
  color: var(--black);
}

.price-row dd.up {
  color: var(--red);
}

.sub-change {
  font-size: 0.75rem;
  font-weight: 400;
  margin-left: 4px;
}

.price-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  padding: 11px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  color: var(--gray-800);
  transition: all 0.2s;
}

.price-more-btn:hover {
  background: var(--gold-pale);
  border-color: var(--gold-light);
  color: var(--gold-dark);
}

.price-more-btn i {
  font-size: 0.5625rem;
}

/* Products Section */
.products-section {
  min-width: 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.section-header h3 {
  font-size: 1rem;
  font-weight: 600;
}

.view-more {
  font-size: 0.8125rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s;
}

.view-more:hover {
  color: var(--gold);
}

.view-more i {
  font-size: 0.5625rem;
}

/* Product Slider (Home Best) */
.product-slider {
  position: relative;
  --slider-visible: 4;
  --slider-gap: 14px;
  padding: 0 44px 36px;
}

.product-slider-viewport {
  overflow: hidden;
  width: 100%;
}

.product-slider-track {
  display: flex;
  gap: var(--slider-gap);
  will-change: transform;
}

.product-slider-track .product-card {
  flex: 0 0 calc((100% - (var(--slider-visible) - 1) * var(--slider-gap)) / var(--slider-visible));
  min-width: 0;
}

.slider-btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--gray-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: var(--shadow);
  transition: all 0.25s;
  z-index: 2;
}

.slider-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: var(--shadow-md);
}

.slider-btn--prev { left: 0; }
.slider-btn--next { right: 0; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  padding: 0;
  transition: all 0.35s ease;
}

.slider-dot.is-active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

.slider-dot:hover {
  background: var(--gold-light);
}

.badge-souvenir {
  display: inline-block;
  align-self: flex-start;
  background: var(--gray-800);
  color: var(--white);
  font-size: 0.5625rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 2px;
  letter-spacing: 0.06em;
  margin-top: auto;
}

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

.product-card a {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  height: 100%;
}

.product-card a:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  color: var(--gray-400);
  box-shadow: var(--shadow);
  transition: color 0.2s;
  z-index: 2;
}

.wishlist-btn:hover {
  color: var(--red);
}

.product-info {
  padding: 14px 14px 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 0.8125rem;
  color: var(--gray-800);
  line-height: 1.45;
  margin-bottom: 8px;
}

.product-price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2px;
}

.product-per-gram {
  font-size: 0.75rem;
  color: var(--gray-400);
  margin-bottom: 10px;
}

.badge-best {
  display: inline-block;
  align-self: flex-start;
  background: var(--gold);
  color: var(--white);
  font-size: 0.5625rem;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 2px;
  letter-spacing: 0.06em;
  margin-top: auto;
}

/* ===== Membership Banner ===== */
.membership-banner {
  background: var(--cream);
  padding: 44px 0;
  border-top: 1px solid rgba(196, 160, 82, 0.12);
  border-bottom: 1px solid rgba(196, 160, 82, 0.12);
}

.membership-inner {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 40px;
}

.membership-card-visual {
  position: relative;
  width: 200px;
  height: 130px;
}

.membership-card {
  width: 190px;
  height: 115px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-md);
  position: relative;
  z-index: 2;
}

.mc-crown,
.mc-icon {
  font-size: 0.875rem;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.franchise-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold-dark);
  margin-bottom: 6px;
}

.mc-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.1em;
}

.mc-type {
  font-size: 0.5625rem;
  color: var(--gray-400);
  letter-spacing: 0.15em;
  margin-top: 3px;
}

.coin {
  position: absolute;
  color: var(--gold-light);
  font-size: 1.125rem;
  opacity: 0.85;
}

.coin-1 { top: -8px; right: -4px; }
.coin-2 { bottom: 4px; right: -22px; font-size: 0.9375rem; }
.coin-3 { top: 24px; left: -18px; font-size: 0.8125rem; }

.membership-text h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.membership-text p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 14px;
}

.membership-text strong {
  color: var(--gold-dark);
  font-weight: 700;
}

.membership-benefits {
  display: flex;
  gap: 24px;
}

.membership-benefits li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.membership-benefits i {
  font-size: 1.125rem;
  color: var(--gold);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  background: var(--white);
}

.membership-benefits span {
  font-size: 0.75rem;
  color: var(--gray-600);
  white-space: nowrap;
}

/* ===== Service Guarantee ===== */
.service-guarantee {
  padding: 44px 0;
  background: var(--white);
}

.guarantee-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.guarantee-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
}

.guarantee-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: var(--gray-800);
}

.guarantee-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.guarantee-text strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
}

.guarantee-text span {
  font-size: 0.75rem;
  color: var(--gray-600);
  line-height: 1.4;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--gray-50);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr auto;
  gap: 28px;
  padding: 44px 24px 28px;
}

.footer-col h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 14px;
}

.footer-phone {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.footer-hours {
  font-size: 0.75rem;
  color: var(--gray-600);
  line-height: 1.65;
}

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

.footer-col ul a {
  font-size: 0.75rem;
  color: var(--gray-600);
  transition: color 0.2s;
}

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

.footer-brand {
  text-align: right;
  min-width: 140px;
}

.brand-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.social-links {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.social-links a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  color: var(--gray-600);
  background: var(--white);
  transition: all 0.2s;
}

.social-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding: 14px 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.footer-company-info {
  width: 100%;
}

.footer-company-info p {
  font-size: 0.6875rem;
  color: var(--gray-400);
  line-height: 1.7;
  margin-bottom: 2px;
}

.footer-company-info strong {
  color: var(--gray-600);
  font-weight: 600;
}

.footer-bottom-inner p {
  font-size: 0.6875rem;
  color: var(--gray-400);
}

.footer-partner {
  font-size: 0.6875rem;
  color: var(--gray-400);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .header-nav-row {
    display: none;
  }

  .logo {
    position: static;
    transform: none;
    justify-content: flex-start;
    grid-column: 2;
  }

  .logo img {
    height: 32px;
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

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

  .membership-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .membership-card-visual {
    margin: 0 auto;
  }

  .membership-benefits {
    justify-content: center;
    flex-wrap: wrap;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

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

  .hero-banner {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero-banner-img {
    order: 2;
    height: 240px;
    object-position: center center;
  }

  .hero-content-wrap {
    order: 1;
    position: relative;
    inset: auto;
    padding: 32px 0 20px;
    background: var(--cream);
  }

  .hero-content {
    max-width: 100%;
    padding: 0;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-pagination {
    justify-content: center;
  }

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

  .guarantee-list {
    grid-template-columns: 1fr;
  }

  .search-box {
    width: 160px;
  }

  .product-slider {
    padding: 0 36px 32px;
  }

  .slider-btn {
    width: 32px;
    height: 32px;
  }

  .footer-bottom-inner {
    align-items: center;
    text-align: center;
  }
}

.hero-content {
  transition: opacity 0.28s ease;
}

.hero-content.is-fading {
  opacity: 0.35;
}

/* Toast notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--gray-800);
  color: var(--white);
  padding: 12px 18px;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast--success { background: #2e7d32; }
.toast--error { background: #c62828; }
.toast--warning { background: #ef6c00; }
.toast--info { background: var(--gray-800); }

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 0.8125rem;
}

@media (max-width: 480px) {
  .category-list {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .search-box {
    display: none;
  }
}
