:root {
  --white: #FFFFFF;
  --bg-primary: #F8F5F0;
  --bg-secondary: #F0EBE3;
  --bg-card: #FDFCFA;
  --border-light: #EAE3DA;
  --border-mid: #D4C9BC;
  --text-primary: #2C2C2C;
  --text-secondary: #666666;
  --text-muted: #999999;
  --accent: #8B7355;
  --accent-dark: #6B5840;
  --accent-light: #EDE3D8;
  --danger: #C0392B;
  --success: #5D8A61;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.1);
  --header-total: 92px;
}
@media (min-width: 1024px) {
  :root {
    --header-total: 104px;
  }
}

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

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

body {
  font-family: "Noto Sans TC", "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  color: #2C2C2C;
  background-color: #F8F5F0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: "Noto Sans TC", "Helvetica Neue", Arial, sans-serif;
  font-size: inherit;
}

input, textarea, select {
  font-family: "Noto Sans TC", "Helvetica Neue", Arial, sans-serif;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.3;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}
@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}

.divider {
  width: 100%;
  height: 1px;
  background-color: #EAE3DA;
  margin: 24px 0;
}

.page-body {
  padding-top: var(--header-total);
  min-height: 100vh;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: #2C2C2C;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 12px;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 1px;
  background-color: #8B7355;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border-radius: 2px;
}
.badge--new {
  background-color: #2C2C2C;
  color: #FFFFFF;
}
.badge--sale {
  background-color: #C0392B;
  color: #FFFFFF;
}
.badge--hot {
  background-color: #8B7355;
  color: #FFFFFF;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  user-select: none;
}
.btn--primary {
  background-color: #2C2C2C;
  color: #FFFFFF;
  border: 1px solid #2C2C2C;
}
.btn--primary:hover {
  background-color: #6B5840;
  border-color: #6B5840;
}
.btn--secondary {
  background-color: transparent;
  color: #2C2C2C;
  border: 1px solid #D4C9BC;
}
.btn--secondary:hover {
  border-color: #2C2C2C;
}
.btn--accent {
  background-color: #8B7355;
  color: #FFFFFF;
  border: 1px solid #8B7355;
}
.btn--accent:hover {
  background-color: #6B5840;
  border-color: #6B5840;
}
.btn--text {
  padding: 4px 0;
  background: none;
  border: none;
  color: #666666;
  font-size: 0.875rem;
}
.btn--text:hover {
  color: #2C2C2C;
}
.btn--full {
  width: 100%;
}
.btn--sm {
  padding: 8px 16px;
  font-size: 0.75rem;
}
.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-label {
  font-size: 0.875rem;
  color: #666666;
  letter-spacing: 0.03em;
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #D4C9BC;
  border-radius: 2px;
  background-color: #FFFFFF;
  color: #2C2C2C;
  font-size: 1rem;
  transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus {
  border-color: #2C2C2C;
}
.form-input::placeholder, .form-select::placeholder {
  color: #999999;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-error {
  font-size: 0.875rem;
  color: #C0392B;
}

.empty-state {
  text-align: center;
  padding: 80px 16px;
  color: #999999;
}
.empty-state .empty-state__icon {
  font-size: 3rem;
  margin-bottom: 16px;
  opacity: 0.4;
}
.empty-state .empty-state__title {
  font-size: 1.125rem;
  color: #666666;
  margin-bottom: 8px;
}
.empty-state .empty-state__text {
  font-size: 0.875rem;
}

.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 64px;
}
.loading-spinner::after {
  content: "";
  width: 32px;
  height: 32px;
  border: 2px solid #EAE3DA;
  border-top-color: #8B7355;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 60px;
  background-color: #FFFFFF;
  border-bottom: 1px solid #EAE3DA;
}
@media (min-width: 1024px) {
  .header {
    height: 72px;
  }
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .header__inner {
    padding: 0 24px;
  }
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.header__logo img {
  height: 40px;
  width: auto;
}
@media (min-width: 768px) {
  .header__logo img {
    height: 52px;
  }
}
@media (min-width: 1024px) {
  .header__logo img {
    height: 64px;
  }
}

.header__nav {
  display: none;
}
@media (min-width: 1024px) {
  .header__nav {
    display: flex;
    align-items: center;
    gap: 32px;
  }
}

.header__nav-link {
  font-size: 0.875rem;
  color: #666666;
  letter-spacing: 0.05em;
  transition: color 0.2s;
  position: relative;
}
.header__nav-link:hover, .header__nav-link.active {
  color: #2C2C2C;
}
.header__nav-link:hover::after, .header__nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #2C2C2C;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
@media (min-width: 768px) {
  .header__actions {
    gap: 16px;
  }
}

.header__icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #666666;
  transition: color 0.2s;
}
.header__icon-btn:hover {
  color: #2C2C2C;
}
.header__icon-btn .badge-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background-color: #2C2C2C;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__search-btn {
  display: none;
}
@media (min-width: 768px) {
  .header__search-btn {
    display: flex;
  }
}

.header__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
@media (min-width: 1024px) {
  .header__hamburger {
    display: none;
  }
}
.header__hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background-color: #2C2C2C;
  transition: all 0.2s ease;
  margin: 0 auto;
}
.header__hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.header__hamburger.open span:nth-child(2) {
  opacity: 0;
}
.header__hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: var(--header-total);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background-color: #FFFFFF;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 24px 16px;
}
.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #EAE3DA;
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 1rem;
  color: #2C2C2C;
  border-bottom: 1px solid #EAE3DA;
  letter-spacing: 0.03em;
}
.mobile-menu__link:hover {
  color: #8B7355;
}

.footer {
  background-color: #2C2C2C;
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 16px 24px;
  margin-top: 64px;
}

.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px) {
  .footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer__brand .footer__logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.footer__brand .footer__tagline {
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer__col-title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}
.footer__link:hover {
  color: #FFFFFF;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 0.875rem;
  color: #999999;
}
.breadcrumb a {
  color: #999999;
  transition: color 0.2s;
}
.breadcrumb a:hover {
  color: #2C2C2C;
}
.breadcrumb .breadcrumb__sep {
  font-size: 0.75rem;
}
.breadcrumb .breadcrumb__current {
  color: #2C2C2C;
}

.page-header {
  padding: 32px 0 24px;
  border-bottom: 1px solid #EAE3DA;
  margin-bottom: 32px;
}
.page-header .page-header__title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #2C2C2C;
  letter-spacing: 0.05em;
}
@media (min-width: 768px) {
  .page-header .page-header__title {
    font-size: 2rem;
  }
}

.product-card {
  position: relative;
  background-color: #FDFCFA;
  border: 1px solid #EAE3DA;
  overflow: hidden;
  transition: all 0.2s ease;
  cursor: pointer;
}
.product-card:hover {
  border-color: #D4C9BC;
}
.product-card:hover .product-card__img img {
  transform: scale(1.03);
}
.product-card:hover .product-card__actions {
  opacity: 1;
  transform: translateY(0);
}

.product-card__img {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background-color: #F0EBE3;
}
.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
}

.product-card__wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999999;
  transition: all 0.2s ease;
}
.product-card__wishlist:hover, .product-card__wishlist.active {
  color: #C0392B;
}

.product-card__info {
  padding: 12px 16px 16px;
}

.product-card__name {
  font-size: 0.875rem;
  color: #2C2C2C;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02em;
}

.product-card__price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.product-card__price-current {
  font-size: 1rem;
  font-weight: 500;
  color: #2C2C2C;
}

.product-card__price-original {
  font-size: 0.875rem;
  color: #999999;
  text-decoration: line-through;
}

.product-card__actions {
  padding: 12px 16px;
  border-top: 1px solid #EAE3DA;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s ease;
}
@media (max-width: 767px) {
  .product-card__actions {
    opacity: 1;
    transform: translateY(0);
  }
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 16px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}
@media (min-width: 768px) {
  .toast-container {
    bottom: 32px;
    right: 32px;
  }
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background-color: #2C2C2C;
  color: #FFFFFF;
  border-radius: 4px;
  font-size: 0.875rem;
  max-width: 280px;
  animation: slideInUp 0.3s ease forwards;
  pointer-events: auto;
}
.toast--success {
  background-color: #5D8A61;
}
.toast--error {
  background-color: #C0392B;
}
.toast.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes slideInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(10px);
  }
}
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
@media (min-width: 768px) {
  .modal-overlay {
    align-items: center;
  }
}

.modal {
  background-color: #FFFFFF;
  width: 100%;
  max-height: 90vh;
  border-radius: 8px 8px 0 0;
  overflow-y: auto;
  padding: 24px;
}
@media (min-width: 768px) {
  .modal {
    max-width: 500px;
    border-radius: 8px;
    max-height: 80vh;
  }
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #EAE3DA;
}

.modal__title {
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.modal__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999999;
  transition: color 0.2s;
}
.modal__close:hover {
  color: #2C2C2C;
}

.tabs {
  display: flex;
  border-bottom: 1px solid #EAE3DA;
  margin-bottom: 24px;
  gap: 0;
}

.tab-btn {
  padding: 12px 20px;
  font-size: 0.875rem;
  color: #999999;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  letter-spacing: 0.03em;
}
.tab-btn:hover {
  color: #2C2C2C;
}
.tab-btn.active {
  color: #2C2C2C;
  border-bottom-color: #2C2C2C;
  font-weight: 500;
}

.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 24px 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 120px;
  position: relative;
}
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 14px;
  right: -50%;
  width: 100%;
  height: 1px;
  background-color: #D4C9BC;
  z-index: 0;
}
.step.active::after, .step.done::after {
  background-color: #8B7355;
}

.step__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #D4C9BC;
  background-color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #999999;
  z-index: 1;
  position: relative;
}
.step.active .step__dot {
  background-color: #2C2C2C;
  border-color: #2C2C2C;
  color: #FFFFFF;
}
.step.done .step__dot {
  background-color: #8B7355;
  border-color: #8B7355;
  color: #FFFFFF;
}

.step__label {
  font-size: 0.7rem;
  color: #999999;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.step.active .step__label {
  color: #2C2C2C;
  font-weight: 500;
}

.accordion {
  border: 1px solid #EAE3DA;
  border-radius: 4px;
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid #EAE3DA;
}
.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  text-align: left;
  font-size: 0.875rem;
  color: #2C2C2C;
  background-color: #FFFFFF;
  transition: background-color 0.2s;
}
.accordion-trigger:hover {
  background-color: #F8F5F0;
}
.accordion-trigger.open {
  font-weight: 500;
}
.accordion-trigger .icon {
  transition: transform 0.2s;
  color: #999999;
  flex-shrink: 0;
}
.accordion-trigger.open .icon {
  transform: rotate(180deg);
}

.accordion-content {
  display: none;
  padding: 16px 20px;
  background-color: #F8F5F0;
  font-size: 0.875rem;
  color: #666666;
  line-height: 1.6;
  border-top: 1px solid #EAE3DA;
}
.accordion-content.open {
  display: block;
}

.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 4px;
  bottom: 4px;
  width: 1px;
  background-color: #EAE3DA;
}

.timeline-item {
  position: relative;
  padding-bottom: 24px;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: -26px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #D4C9BC;
  background-color: #FFFFFF;
  z-index: 1;
}
.timeline-item.done::before {
  background-color: #8B7355;
  border-color: #8B7355;
}
.timeline-item.active::before {
  background-color: #2C2C2C;
  border-color: #2C2C2C;
  width: 12px;
  height: 12px;
  left: -27px;
  top: 3px;
}

.timeline-item__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2C2C2C;
  margin-bottom: 4px;
}
.timeline-item:not(.done):not(.active) .timeline-item__label {
  color: #999999;
  font-weight: 400;
}

.timeline-item__time {
  font-size: 0.75rem;
  color: #999999;
}

.shipping-options,
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid #D4C9BC;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: #FFFFFF;
}
.option-card input[type=radio] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #2C2C2C;
  cursor: pointer;
}
.option-card > div {
  flex: 1;
  min-width: 0;
}
.option-card:hover:not(.selected) {
  background-color: #F0EBE3;
  border-color: #D4C9BC;
}
.option-card.selected {
  border-color: #2C2C2C;
  background-color: #FDFCFA;
}

.option-card__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #2C2C2C;
  letter-spacing: 0.02em;
}

.option-card__desc {
  font-size: 0.875rem;
  color: #999999;
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 8px 12px;
  font-size: 0.875rem;
  border: 1px solid #D4C9BC;
  border-radius: 2px;
  color: #666666;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.tag:hover, .tag.active {
  background-color: #2C2C2C;
  color: #FFFFFF;
  border-color: #2C2C2C;
}

.avatar-upload-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.avatar-upload-circle:hover .avatar-upload-overlay {
  opacity: 1;
}

.checkout-sticky-bar {
  display: block;
  position: fixed;
  bottom: max(0px, 100vh - 100dvh);
  left: 0;
  right: 0;
  z-index: 150;
  background-color: #FFFFFF;
  border-top: 1px solid #EAE3DA;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  padding: 10px 16px;
}
@media (min-width: 768px) {
  .checkout-sticky-bar {
    display: none;
  }
}

.checkout-sticky-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .checkout-page-body {
    padding-bottom: 80px;
  }
}
@media (max-width: 767px) {
  .checkout-form-submit-desktop {
    display: none !important;
  }
}

.mobile-summary-toggle {
  display: none;
}
@media (max-width: 767px) {
  .mobile-summary-toggle {
    display: block;
    border: 1px solid #EAE3DA;
    border-radius: 4px;
    margin-bottom: 16px;
    overflow: hidden;
    background-color: #F0EBE3;
  }
}

.mobile-summary-toggle__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  font-size: 0.875rem;
  color: #2C2C2C;
  cursor: pointer;
  background: none;
  border: none;
}

.mobile-summary-toggle__body {
  padding: 0 16px 12px;
  border-top: 1px solid #EAE3DA;
}

.mobile-coupon-section {
  display: none;
}
@media (max-width: 767px) {
  .mobile-coupon-section {
    display: block;
    padding: 14px 16px;
    border: 1px solid #EAE3DA;
    border-radius: 4px;
    background-color: #FFFFFF;
    margin-bottom: 16px;
  }
}

@media (max-width: 767px) {
  .hide-on-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hide-on-desktop {
    display: none !important;
  }
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

.products-layout {
  display: block;
}
@media (min-width: 1024px) {
  .products-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: start;
  }
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .checkout-layout {
    grid-template-columns: 1fr 320px;
    align-items: start;
  }
}
@media (min-width: 1024px) {
  .checkout-layout {
    grid-template-columns: 1fr 380px;
  }
}

@media (max-width: 767px) {
  .checkout-summary-sticky {
    display: none;
  }
}
@media (min-width: 768px) {
  .checkout-summary-sticky {
    position: sticky;
    top: calc(var(--header-total) + 16px);
  }
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 480px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

.hero {
  position: relative;
  background-color: #F0EBE3;
  overflow: hidden;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 16px;
  min-height: 320px;
}
@media (min-width: 768px) {
  .hero__inner {
    min-height: 440px;
    padding: 80px 32px;
  }
}

.hero__label {
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  color: #666666;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.hero__title {
  font-size: 2rem;
  font-weight: 400;
  color: #2C2C2C;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
@media (min-width: 768px) {
  .hero__title {
    font-size: 2.5rem;
  }
}

.hero__subtitle {
  font-size: 1rem;
  color: #666666;
  margin-bottom: 32px;
  max-width: 480px;
  line-height: 1.6;
}

.category-card {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background-color: #F0EBE3;
  cursor: pointer;
}
.category-card:hover img {
  transform: scale(1.05);
}
.category-card:hover .category-card__overlay {
  background-color: rgba(0, 0, 0, 0.35);
}
.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.category-card__label {
  color: #FFFFFF;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.promo-banner {
  background-color: #EDE3D8;
  border: 1px solid #D4C9BC;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-radius: 2px;
}
@media (max-width: 767px) {
  .promo-banner {
    flex-direction: column;
    text-align: center;
  }
}

.promo-banner__text {
  font-size: 0.875rem;
  color: #666666;
}
.promo-banner__text strong {
  color: #2C2C2C;
  font-weight: 500;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #EAE3DA;
}
@media (min-width: 768px) {
  .cart-item {
    grid-template-columns: 100px 1fr;
  }
}

.cart-item__img {
  aspect-ratio: 1/1;
  object-fit: cover;
  background-color: #F0EBE3;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #D4C9BC;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #2C2C2C;
  transition: all 0.2s ease;
  touch-action: manipulation;
}
.qty-btn:hover {
  border-color: #2C2C2C;
}

.qty-num {
  min-width: 24px;
  text-align: center;
  font-size: 0.875rem;
}

.order-summary {
  background-color: #F8F5F0;
  border: 1px solid #EAE3DA;
  padding: 20px;
  border-radius: 2px;
  position: sticky;
  top: calc(var(--header-total) + 16px);
}

.order-summary__title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #EAE3DA;
}

.order-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.875rem;
  color: #666666;
}

.order-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 8px;
  border-top: 1px solid #D4C9BC;
  margin-top: 8px;
  font-size: 1.125rem;
  font-weight: 500;
  color: #2C2C2C;
}

.member-layout {
  display: block;
}
@media (min-width: 1024px) {
  .member-layout {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    align-items: start;
  }
}

.member-sidebar {
  background-color: #F8F5F0;
  border: 1px solid #EAE3DA;
  padding: 16px;
  margin-bottom: 24px;
  border-radius: 2px;
}
@media (min-width: 1024px) {
  .member-sidebar {
    margin-bottom: 0;
    position: sticky;
    top: calc(var(--header-total) + 16px);
  }
}

.member-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  font-size: 0.875rem;
  color: #666666;
  border-radius: 2px;
  transition: all 0.2s ease;
  cursor: pointer;
  letter-spacing: 0.02em;
}
.member-nav-item:hover {
  background-color: #F0EBE3;
  color: #2C2C2C;
}
.member-nav-item.active {
  background-color: #EDE3D8;
  color: #6B5840;
  font-weight: 500;
}
