/* ========================================
   Member Center Page Styles
   ======================================== */

/* ---- Member Login Page ---- */
.mc-login-page {
  --mc-login-orange: #E25B2A;
  --mc-login-orange-hover: #D04E20;
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
  background-color: #F7F7F7;
  background-image: var(--mc-login-bg);
  background-repeat: no-repeat;
  background-position: right 0 bottom -80px;
  background-size: min(82.5vw, 1080px) auto;
  position: relative;
  overflow: hidden;
}

.mc-login-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(226, 91, 42, 0.35) 0%, rgba(247, 247, 247, 0) 100%);
  pointer-events: none;
  z-index: 0;
}

.mc-login-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--header-height));
  padding: 48px 20px 80px;
}

.mc-login-card {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  padding: 48px 56px 40px;
}

.mc-login-title {
  font-family: var(--font-primary);
  font-size: 28px;
  font-weight: 700;
  color: var(--mc-login-orange);
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 1px;
}

.mc-login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mc-login-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mc-login-field label {
  font-size: 14px;
  font-weight: 500;
  color: var(--mc-login-orange);
  line-height: 1.4;
}

.mc-login-field input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid #D9D9D9;
  border-radius: 10px;
  font-size: 14px;
  font-family: var(--font-primary);
  color: #333;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.mc-login-field input::placeholder {
  color: #B0B0B0;
}

.mc-login-field input:focus {
  outline: none;
  border-color: var(--mc-login-orange);
  box-shadow: 0 0 0 3px rgba(226, 91, 42, 0.12);
}

.mc-login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: -4px;
}

.mc-login-remember {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  color: var(--mc-login-orange);
  user-select: none;
}

.mc-login-remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--mc-login-orange);
  cursor: pointer;
  flex-shrink: 0;
}

.mc-login-forgot {
  font-size: 13px;
  color: #999;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mc-login-forgot:hover {
  color: #666;
  opacity: 1;
}

.mc-login-submit {
  width: 100%;
  height: 48px;
  margin-top: 4px;
  border: none;
  border-radius: 100px;
  background: var(--mc-login-orange);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.mc-login-submit:hover {
  background: var(--mc-login-orange-hover);
  opacity: 1;
}

.mc-login-submit:active {
  transform: scale(0.98);
}

.mc-login-register {
  text-align: center;
  font-size: 13px;
  color: #999;
  margin: 20px 0 0;
}

.mc-login-register a {
  color: var(--mc-login-orange);
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 2px;
}

.mc-login-register a:hover {
  opacity: 0.85;
}

.mc-login-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 24px;
}

.mc-login-divider::before,
.mc-login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E0E0E0;
}

.mc-login-divider span {
  font-size: 13px;
  color: #999;
  flex-shrink: 0;
}

.mc-login-social {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.mc-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #D9D9D9;
  border-radius: 100px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: var(--font-primary);
}

.mc-social-btn:hover {
  border-color: #C0C0C0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  opacity: 1;
}

.mc-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mc-social-icon svg,
.mc-social-icon img {
  width: 18px;
  height: 18px;
  display: block;
}

.mc-social-icon-line img {
  width: 24px;
  height: 23px;
  object-fit: contain;
}

.mc-social-text {
  font-size: 11px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .mc-login-page {
    background-size: min(60vw, 255px) auto;
    background-position: right 0 bottom 0;
    padding-bottom: 88px;
    margin-bottom: -56px;
    position: relative;
    z-index: 1;
  }

  .mc-login-page + .site-footer {
    position: relative;
    z-index: 2;
  }

  .mc-login-gradient {
    height: 88px;
    background: linear-gradient(180deg, rgba(226, 91, 42, 0.28) 0%, rgba(247, 247, 247, 0) 100%);
  }

  .mc-login-wrap {
    align-items: flex-start;
    justify-content: flex-start;
    min-height: auto;
    padding: 24px 16px 12px;
  }

  .mc-login-card {
    width: 100%;
    max-width: none;
    padding: 32px 20px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }

  .mc-login-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 22px;
    letter-spacing: 0.5px;
  }

  .mc-login-form {
    gap: 16px;
  }

  .mc-login-field {
    gap: 6px;
  }

  .mc-login-field label {
    font-size: 13px;
  }

  .mc-login-field input {
    height: 44px;
    border-radius: 6px;
    font-size: 14px;
  }

  .mc-login-options {
    margin-top: 0;
  }

  .mc-login-remember,
  .mc-login-forgot {
    font-size: 12px;
  }

  .mc-login-submit {
    height: 44px;
    font-size: 15px;
    margin-top: 2px;
  }

  .mc-login-register {
    margin-top: 16px;
    font-size: 12px;
  }

  .mc-login-divider {
    margin: 18px 0 14px;
  }

  .mc-login-social {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 0;
  }

  .mc-social-btn {
    width: 100%;
    height: 38px;
    min-height: 38px;
    padding: 0 14px;
    gap: 5px;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  }

  .mc-social-text {
    font-size: 11px;
    color: #666;
    overflow: visible;
    text-overflow: unset;
  }

  .mc-social-icon svg,
  .mc-social-icon img {
    width: 16px;
    height: 16px;
  }

  .mc-social-icon-line img {
    width: 17px;
    height: 16px;
  }
}

/* ---- Banner ---- */
.mc-banner {
  margin-top: var(--header-height);
  background: linear-gradient(90deg, #C4A77D 0%, #B7A983 100%);
  text-align: center;
  padding: 35px 0;
  position: relative;
  overflow: hidden;
}

.mc-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.mc-banner h1 {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 2px;
  position: relative;
  text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* ---- Main Layout ---- */
.mc-container {
  display: flex;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 50px 80px;
  align-items: flex-start;
}

/* ---- Sidebar ---- */
.mc-sidebar {
  width: 200px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Avatar Section */
.mc-avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 15px;
  position: relative;
  background: #B7A983;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(183, 169, 131, 0.2);
  margin-bottom: 20px;
}

.mc-vip-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
  padding-left: 10px;
}

.mc-vip-label svg {
  width: 14px;
  height: 14px;
  stroke: white;
}

.mc-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--color-white);
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mc-username {
  font-size: 16px;
  color: var(--color-white);
  font-weight: 700;
  margin-bottom: 12px;
}

.mc-member-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 24px;
  background: var(--color-white);
  color: #B7A983;
  font-size: 11px;
  border-radius: 100px;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Sidebar Menu */
.mc-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mc-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 45px;
  padding: 0 9px;
  border: 1px solid var(--color-gold);
  border-radius: 4px;
  background: var(--color-white);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  color: var(--color-dark);
}

.mc-menu-item:hover {
  background: #f9f6f0;
  opacity: 1;
  transform: translateX(3px);
}

.mc-menu-item.active {
  background: #B7A983;
  border-color: #B7A983;
  color: var(--color-white);
}

.mc-menu-item.active:hover {
  background: #C4A77D;
  transform: translateX(3px);
}

.mc-menu-item.active .mc-menu-icon svg {
  fill: var(--color-white);
  stroke: var(--color-white);
}

.mc-menu-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mc-menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.mc-menu-icon svg {
  width: 12px;
  height: 12px;
}

.mc-menu-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
}

/* Badge (count) */
.mc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  height: 18px;
  padding: 1px 9px;
  border-radius: 20px;
  font-size: 10px;
  color: var(--color-white);
  line-height: 1;
}

.mc-badge.gold {
  background: var(--color-gold);
}

.mc-badge.red {
  background: #d9534f;
}

/* Points display */
.mc-points-display {
  font-size: 14px;
  color: var(--color-dark);
  white-space: nowrap;
}

.mc-points-display .points-num {
  color: var(--color-gold);
  font-weight: 700;
}

.mc-points-display .points-unit {
  font-size: 12px;
}

/* Logout Button */
.mc-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  height: 38px;
  background: var(--color-gold);
  border: none;
  border-radius: 4px;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-primary);
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 14px;
  text-decoration: none;
}

.mc-logout-btn:hover {
  background: #a89872;
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(183, 169, 131, 0.3);
}

.mc-logout-btn svg {
  width: 18px;
  height: 18px;
}

/* ---- Content Area ---- */
.mc-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ---- Membership Card ---- */
.mc-membership-card {
  border: 1px solid var(--color-gold-deep);
  border-radius: 100px;
  padding: 22px 61px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeInUp 0.6s ease both;
}

.mc-membership-header {
  display: flex;
  align-items: center;
  gap: 6px;
}

.mc-membership-header svg {
  width: 18px;
  height: 16px;
  color: var(--color-gold);
}

.mc-membership-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-gold);
}

.mc-membership-perks {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.mc-membership-perks span {
  font-size: 13px;
  color: #666;
  white-space: nowrap;
}

.mc-membership-progress {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mc-membership-progress-text {
  font-size: 12px;
  color: #888;
}

.mc-progress-bar {
  width: 100%;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.mc-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-gold-deep) 100%);
  border-radius: 3px;
  transition: width 1s ease;
  position: relative;
}

.mc-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.3) 50%,
    transparent 100%
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ---- Orders Section ---- */
.mc-orders {
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeInUp 0.6s ease 0.15s both;
}

.mc-orders-title {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

/* Order Tabs */
.mc-order-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mc-order-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 35px;
  font-size: 13px;
  font-family: var(--font-primary);
  border: 1px solid #ccc;
  background: transparent;
  color: #888;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mc-order-tab:hover {
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.mc-order-tab.active {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

/* Order Cards */
.mc-order-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.mc-no-orders {
  text-align: center;
  padding: 60px 20px;
  background: #f9f9f9;
  border: 1px dashed var(--color-gold);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mc-no-orders p {
  color: #888;
  font-size: 16px;
}

.mc-order-card {
  border: 1px solid var(--color-gold);
  padding: 18px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: all 0.3s ease;
  animation: fadeInUp 0.5s ease both;
}

.mc-order-card:nth-child(2) {
  animation-delay: 0.1s;
}

.mc-order-card:hover {
  box-shadow: 0 4px 20px rgba(183, 169, 131, 0.15);
  transform: translateY(-2px);
}

/* Order Header */
.mc-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.mc-order-id-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mc-order-label {
  font-size: 12px;
  color: #888;
}

.mc-order-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-dark);
}

.mc-order-date {
  font-size: 12px;
  color: #888;
}

.mc-order-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 24px;
  font-size: 11px;
  border-radius: 0;
}

.mc-order-status.shipped {
  background: #e8f5e9;
  color: #4caf50;
}

.mc-order-status.completed {
  background: #e8f1f5;
  color: #1e73af;
}

.mc-order-status.pending {
  background: #fff8e1;
  color: #f9a825;
}

.mc-order-status.processing {
  background: #f3e5f5;
  color: #9c27b0;
}

/* Order Body */
.mc-order-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.mc-order-product {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.mc-order-product-img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  background: #f5f5f5;
  flex-shrink: 0;
}

.mc-order-product-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 100px;
  justify-content: space-between;
}

.mc-order-product-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
}

.mc-order-product-spec {
  font-size: 12px;
  color: #888;
}

.mc-order-more {
  font-size: 12px;
  color: var(--color-gold-deep);
  margin-top: auto;
}

.mc-order-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: right;
  flex-shrink: 0;
}

.mc-order-count {
  font-size: 12px;
  color: #888;
}

.mc-order-total {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
}

/* Order Footer (action buttons) */
.mc-order-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.mc-order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 30px;
  font-size: 12px;
  font-family: var(--font-primary);
  border: 1px solid var(--color-dark);
  background: transparent;
  color: var(--color-dark);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}

.mc-order-btn:hover {
  background: var(--color-dark);
  color: var(--color-white);
  opacity: 1;
}

.mc-order-btn.primary {
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}

.mc-order-btn.primary:hover {
  background: #555;
  border-color: #555;
}

.mc-order-btn.outline-gold {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: transparent;
}

.mc-order-btn.outline-gold:hover {
  background: var(--color-gold);
  color: var(--color-white);
  opacity: 1;
}

/* ---- Pagination ---- */
.mc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  animation: fadeInUp 0.5s ease 0.3s both;
}

.mc-page-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #888;
  border: 1px solid #ccc;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-primary);
  transition: all 0.25s ease;
}

.mc-page-num:hover {
  border-color: var(--color-dark);
  color: var(--color-dark);
}

.mc-page-num.active {
  background: var(--color-dark);
  border-color: var(--color-dark);
  color: var(--color-white);
}

.mc-page-next {
  width: 60px;
  height: 40px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #888;
  border: 1px solid #ccc;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-primary);
  transition: all 0.25s ease;
}

.mc-page-next:hover {
  border-color: var(--color-dark);
  color: var(--color-dark);
}

/* ---- Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .mc-container {
    flex-direction: column;
    padding: 30px 20px 60px;
  }

  .mc-sidebar {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .mc-avatar-section {
    width: 100%;
    flex-direction: row;
    padding: 16px 20px;
    gap: 14px;
    border-radius: 8px;
  }

  .mc-avatar {
    width: 50px;
    height: 50px;
    margin-bottom: 0;
  }

  .mc-vip-label {
    margin-bottom: 0;
  }

  .mc-menu {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .mc-menu-item {
    flex: 1;
    min-width: 120px;
  }

  .mc-logout-btn {
    margin-top: 0;
    width: auto;
    flex: 1;
    min-width: 120px;
  }

  .mc-membership-card {
    border-radius: 20px;
    padding: 20px 24px;
  }

  .mc-membership-perks {
    flex-direction: column;
    gap: 6px;
  }

  .mc-order-body {
    flex-direction: column;
    gap: 12px;
  }

  .mc-order-summary {
    text-align: left;
  }

  .mc-order-footer {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .mc-order-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .mc-order-btn {
    flex: 1;
    min-width: 80px;
  }

  .mc-order-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .mc-order-tab {
    flex-shrink: 0;
  }
}

:root {
  --gradient-gold: linear-gradient(135deg, #C4A77D 0%, #B7A983 100%);
}

/* ====== 內頁通用標題 ====== */
.mc-section-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 30px;
  color: #333;
}

/* ====== 表單樣式 (Profile) ====== */
.mc-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
}

.mc-form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mc-form-row label {
  font-size: 14px;
  color: #666;
}

.mc-form-row input {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.mc-form-row input:focus {
  border-color: var(--color-gold);
  outline: none;
}

.mc-form-row input:disabled {
  background: #f5f5f5;
  color: #999;
}

/* ====== 優惠券卡片 (Coupons) ====== */
.mc-coupon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 25px;
}

.mc-coupon-card {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid var(--color-gold);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(196, 167, 125, 0.08);
}

.coupon-amount {
  background: var(--gradient-gold);
  color: #fff;
  padding: 0 25px;
  font-size: 28px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  font-family: 'Outfit', sans-serif;
}

.coupon-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.coupon-name {
  display: block;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 5px;
  color: #333;
}

.coupon-date {
  font-size: 13px;
  color: #999;
}

.mc-coupon-card .mc-order-btn {
  margin: 15px;
  align-self: center;
  width: auto;
  white-space: nowrap;
  padding: 10px 20px;
}

/* ====== 響應式調整 ====== */
@media (max-width: 600px) {
  .mc-coupon-card {
    flex-direction: column;
  }
  .coupon-amount {
    width: 100%;
    padding: 20px;
  }
  .coupon-info {
    text-align: center;
  }
  .mc-coupon-card .mc-order-btn {
    margin: 0 20px 20px;
    width: calc(100% - 40px);
  }
}

/* ============================================================
   會員中心：收藏清單 (Wishlist) 樣式
   ============================================================ */
.mc-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  animation: fadeInUp 0.6s ease both;
}

.mc-wishlist-card {
  background: var(--color-white);
  border: 1px solid var(--color-gold);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mc-wishlist-card:hover {
  box-shadow: 0 8px 25px rgba(183, 169, 131, 0.18);
  transform: translateY(-4px);
}

.mc-wishlist-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 125%; /* 4:5 aspect ratio */
  background: #f7f7f7;
  overflow: hidden;
}

.mc-wishlist-img-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.mc-wishlist-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.mc-wishlist-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.4;
  height: 2.8em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.mc-wishlist-name a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.mc-wishlist-name a:hover {
  color: var(--color-gold);
}

.mc-wishlist-price {
  font-size: 14px;
  font-weight: 700;
  color: #8A3319;
}

.mc-wishlist-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.mc-wishlist-btn {
  flex: 1;
  height: 34px;
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-dark);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  border-radius: 0;
}

.mc-wishlist-btn.cart-btn {
  background: var(--color-dark);
  color: var(--color-white);
}

.mc-wishlist-btn.cart-btn:hover {
  background: #555;
  border-color: #555;
}

.mc-wishlist-btn.remove-btn {
  background: transparent;
  color: var(--color-dark);
}

.mc-wishlist-btn.remove-btn:hover {
  background: #f5f5f5;
}

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


