/* ═══════════════════════════════════════════════
   梨山珍選 · Lishan Premium Collection
   精品水果訂購平台 — 華麗典雅風格
   ═══════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --cream: #FDF8F0;
  --cream-alt: #F9F0E1;
  --gold: #C8A96E;
  --gold-bright: #D4AF37;
  --gold-light: #F5E6CC;
  --gold-pale: #FDF5E6;
  --emerald: #0D5C3F;
  --emerald-dark: #073A28;
  --emerald-light: #E8F5EF;
  --emerald-mid: #1A7A54;
  --text-dark: #1C1C1C;
  --text-body: #3D3D3D;
  --text-muted: #8A8A8A;
  --white: #FFFFFF;
  --rose: #E8C4B8;
  --rose-light: #FDF2EE;
  --shadow-sm: 0 2px 8px rgba(7, 58, 40, 0.06);
  --shadow-md: 0 8px 30px rgba(7, 58, 40, 0.10);
  --shadow-lg: 0 20px 50px rgba(7, 58, 40, 0.14);
  --shadow-gold: 0 4px 20px rgba(200, 169, 110, 0.25);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --transition-smooth: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans TC", "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;
  color: var(--text-body);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Playfair Display", "DM Serif Display", "Noto Serif TC", serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-dark);
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

img { max-width: 100%; display: block; }

input, textarea, select {
  font-family: inherit;
  font-size: 0.95rem;
}

/* ── Focus ── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ═══════════════════════════════════════════════
   HEADER / NAVBAR — 奢華金色導航
   ═══════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 240, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid rgba(200, 169, 110, 0.25);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(253, 248, 240, 0.95);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 2px 12px rgba(13, 92, 63, 0.25);
}

.brand-text h1 {
  font-size: 1.35rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--emerald-dark), var(--emerald));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-text span {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-nav a {
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--transition-smooth);
  position: relative;
}

.header-nav a:hover {
  background: var(--gold-pale);
  color: var(--emerald-dark);
}

.header-nav a.is-active {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-mid));
  color: var(--white);
  box-shadow: 0 2px 12px rgba(13, 92, 63, 0.3);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-outline-gold {
  padding: 9px 22px;
  border: 1.5px solid var(--gold);
  border-radius: 999px;
  background: transparent;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition-smooth);
}

.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--white);
  box-shadow: var(--shadow-gold);
}

.btn-filled-gold {
  padding: 10px 24px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-gold);
}

.btn-filled-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 169, 110, 0.4);
}

.mobile-menu-trigger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  background: transparent;
  font-size: 1.2rem;
  color: var(--emerald-dark);
}

/* ═══════════════════════════════════════════════
   HERO SECTION — 全幅沈浸式大圖
   ═══════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--emerald-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: brightness(0.7);
  animation: hero-zoom 20s ease-in-out infinite alternate;
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(7, 58, 40, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 40%, rgba(200, 169, 110, 0.15) 0%, transparent 50%),
    linear-gradient(180deg, rgba(7, 58, 40, 0.45) 0%, rgba(7, 58, 40, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
  max-width: 720px;
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  padding: 6px 18px;
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 999px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  background: rgba(7, 58, 40, 0.35);
}

.hero-content h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 16px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-content h2 .gold-accent {
  color: var(--gold-bright);
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-cta-primary {
  padding: 14px 36px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), #b8942e);
  color: var(--emerald-dark);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: var(--transition-bounce);
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.4);
}

.hero-cta-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 32px rgba(212, 175, 55, 0.55);
}

.hero-cta-ghost {
  padding: 14px 36px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: var(--transition-smooth);
}

.hero-cta-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

.hero-scroll-hint span {
  display: block;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 999px;
  position: relative;
}

.hero-scroll-hint span::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold-bright);
  animation: scroll-dot 1.5s ease-in-out infinite;
}

@keyframes scroll-dot {
  0%, 100% { top: 8px; opacity: 1; }
  50% { top: 22px; opacity: 0.5; }
}

/* ═══════════════════════════════════════════════
   FEATURES STRIP — 三大特色條
   ═══════════════════════════════════════════════ */
.features-strip {
  max-width: 1280px;
  margin: -40px auto 0;
  padding: 0 28px;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  border: 1px solid rgba(200, 169, 110, 0.15);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: var(--gold-pale);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   SECTION COMMONS
   ═══════════════════════════════════════════════ */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   PRODUCT GRID — 精品水果卡片
   ═══════════════════════════════════════════════ */
.products-section {
  padding: 80px 0 60px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(200, 169, 110, 0.12);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(200, 169, 110, 0.35);
}

.product-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--cream-alt);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

.product-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.badge-premium {
  background: rgba(212, 175, 55, 0.85);
  color: var(--white);
}

.badge-season {
  background: rgba(13, 92, 63, 0.85);
  color: var(--white);
}

.badge-new {
  background: rgba(232, 196, 184, 0.9);
  color: var(--text-dark);
}

.product-card-body {
  padding: 22px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.product-variety {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid #f0e8d5;
}

.product-price {
  display: flex;
  flex-direction: column;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--emerald-dark);
  font-family: "Playfair Display", serif;
}

.price-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.product-add-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1.5px solid var(--emerald);
  border-radius: 999px;
  background: transparent;
  color: var(--emerald);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.product-add-btn:hover {
  background: var(--emerald);
  color: var(--white);
}

/* ═══════════════════════════════════════════════
   ORDER FORM SECTION — 下單區
   ═══════════════════════════════════════════════ */
.order-section {
  padding: 60px 0 80px;
  background: var(--white);
  border-top: 1px solid rgba(200, 169, 110, 0.2);
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(360px, 1fr);
  gap: 32px;
  align-items: flex-start;
}

.order-cart-panel {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(200, 169, 110, 0.2);
}

.order-cart-panel h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.order-cart-panel > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.cart-table-wrap {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(200, 169, 110, 0.18);
  background: var(--white);
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #f0e8d5;
  font-size: 0.9rem;
}

.cart-table th {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  background: var(--cream-alt);
  font-weight: 700;
}

.cart-table tbody tr {
  transition: background 0.2s;
}

.cart-table tbody tr:hover {
  background: var(--gold-pale);
}

.cart-table tbody tr:last-child td {
  border-bottom: none;
}

.cart-thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 2px solid #f0e8d5;
}

.cart-item-name {
  font-weight: 600;
  color: var(--text-dark);
}

.cart-item-variety {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-qty-input {
  width: 70px;
  min-height: 38px;
  text-align: center;
  border: 1.5px solid #d9ccb5;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.cart-qty-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15);
}

.cart-line-total {
  font-weight: 700;
  color: var(--emerald-dark);
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
}

.cart-empty {
  text-align: center;
  padding: 48px 20px;
}

.cart-empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: 0.4;
}

.cart-empty h4 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.cart-empty p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── Order Form Sidebar ── */
.order-form-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(200, 169, 110, 0.25);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 92px;
}

.order-form-panel h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.order-form-panel > p {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.form-notice {
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--rose-light);
  color: #8B5E5E;
  font-size: 0.82rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-fields {
  display: grid;
  gap: 14px;
}

.field-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.field-group label .optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.form-input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1.5px solid #e0d3ba;
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
  transition: var(--transition-smooth);
  background: var(--cream);
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.12);
  background: var(--white);
  outline: none;
}

textarea.form-input {
  resize: vertical;
  min-height: 80px;
}

.btn-submit-order {
  width: 100%;
  min-height: 50px;
  border: none;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--emerald), var(--emerald-mid));
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 16px rgba(13, 92, 63, 0.3);
  margin-top: 4px;
}

.btn-submit-order:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(13, 92, 63, 0.4);
}

.btn-submit-order:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.order-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 8px;
  margin-top: 4px;
  border-top: 2px solid #f0e8d5;
}

.order-summary-total span:first-child {
  font-weight: 600;
}

.total-amount {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--emerald-dark);
  font-family: "Playfair Display", serif;
}

/* ═══════════════════════════════════════════════
   ABOUT SECTION — 關於我們
   ═══════════════════════════════════════════════ */
.about-section {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 140px;
  height: 140px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  line-height: 1.2;
  box-shadow: var(--shadow-gold);
}

.about-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.02rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.about-stat {
  text-align: center;
  padding: 18px 12px;
  background: var(--cream-alt);
  border-radius: var(--radius-md);
}

.about-stat .stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--emerald);
  font-family: "Playfair Display", serif;
}

.about-stat .stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════
   TESTIMONIALS — 好評推薦
   ═══════════════════════════════════════════════ */
.testimonials-section {
  padding: 80px 0;
  background: var(--cream-alt);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200, 169, 110, 0.1);
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(200, 169, 110, 0.3);
}

.testimonial-stars {
  color: var(--gold-bright);
  font-size: 1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--emerald-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--emerald);
  font-size: 0.9rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════
   FOOTER — 頁尾
   ═══════════════════════════════════════════════ */
.site-footer {
  background: var(--emerald-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  color: var(--gold-bright);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  padding: 5px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}

/* ═══════════════════════════════════════════════
   TOAST / NOTIFICATION
   ═══════════════════════════════════════════════ */
.toast-success {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  min-height: 52px;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  background: var(--emerald);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  box-shadow: 0 8px 28px rgba(13, 92, 63, 0.4);
  animation: slideInRight 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   MOBILE GALLERY (for small screens)
   ═══════════════════════════════════════════════ */
.mobile-gallery {
  display: none;
  gap: 10px;
  margin-top: 20px;
}

.mobile-gallery img {
  border-radius: var(--radius-md);
  aspect-ratio: 16/10;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

/* ═══════════════════════════════════════════════
   ADMIN PAGES — 後台樣式
   ═══════════════════════════════════════════════ */
.admin-page-shell {
  min-height: 100vh;
  background: var(--cream);
}

.admin-header {
  background: var(--white);
  border-bottom: 1px solid rgba(200, 169, 110, 0.2);
  padding: 0 28px;
}

.admin-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--emerald-dark);
}

.admin-nav {
  display: flex;
  gap: 4px;
}

.admin-nav a {
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.admin-nav a:hover {
  background: var(--cream-alt);
}

.admin-nav a.is-active {
  background: var(--emerald);
  color: var(--white);
}

.admin-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px;
}

.admin-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(200, 169, 110, 0.12);
  margin-bottom: 24px;
}

.admin-card h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid #f0e8d5;
  font-size: 0.9rem;
}

.admin-table th {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
}

.admin-table tbody tr:hover {
  background: var(--gold-pale);
}

.admin-thumb {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}

.btn-admin-primary {
  padding: 10px 22px;
  border: none;
  border-radius: 999px;
  background: var(--emerald);
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
  transition: var(--transition-smooth);
}

.btn-admin-primary:hover {
  background: var(--emerald-dark);
}

.btn-admin-outline {
  padding: 8px 18px;
  border: 1.5px solid var(--emerald);
  border-radius: 999px;
  background: transparent;
  color: var(--emerald);
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.btn-admin-outline:hover {
  background: var(--emerald);
  color: var(--white);
}

.btn-admin-danger {
  padding: 8px 18px;
  border: 1.5px solid #c0392b;
  border-radius: 999px;
  background: transparent;
  color: #c0392b;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.btn-admin-danger:hover {
  background: #c0392b;
  color: var(--white);
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.admin-form-grid .field-group {
  display: flex;
  flex-direction: column;
}

.admin-form-grid .field-group label {
  margin-bottom: 5px;
  font-weight: 600;
  font-size: 0.85rem;
}

.admin-form-grid .field-group input,
.admin-form-grid .field-group textarea,
.admin-form-grid .field-group select {
  min-height: 42px;
  padding: 8px 12px;
  border: 1.5px solid #e0d3ba;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  background: var(--cream);
}

.admin-form-grid .field-group input:focus,
.admin-form-grid .field-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.12);
  outline: none;
}

.admin-form-grid .field-group.full-width {
  grid-column: 1 / -1;
}

/* ═══════════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════════ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--emerald-dark), #052E20);
  padding: 24px;
}

.login-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.login-card .login-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--emerald), var(--emerald-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(13, 92, 63, 0.35);
}

.login-card h2 {
  margin-bottom: 6px;
}

.login-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.login-card .field-group {
  text-align: left;
  margin-bottom: 14px;
}

.login-card .btn-submit-order {
  margin-top: 8px;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .features-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .order-layout {
    grid-template-columns: 1fr;
  }

  .order-form-panel {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-image-wrapper {
    aspect-ratio: 16/9;
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid rgba(200, 169, 110, 0.2);
    box-shadow: var(--shadow-md);
    gap: 4px;
  }

  .header-nav.open {
    display: flex;
  }

  .header-nav a {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .mobile-menu-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero {
    min-height: 480px;
  }

  .features-strip {
    grid-template-columns: 1fr;
    margin-top: -24px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-form-grid {
    grid-template-columns: 1fr;
  }

  .mobile-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 1.8rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .section-container {
    padding: 0 16px;
  }

  .order-cart-panel {
    padding: 16px;
  }

  .cart-table th,
  .cart-table td {
    padding: 8px 6px;
    font-size: 0.78rem;
  }
}
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.admin-login-card {
  width: min(480px, 100%);
  padding: 24px;
}

.admin-login-card h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.admin-login-card p {
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.admin-form-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 22px;
}

.table-responsive .table {
  border-color: #e5d9c5;
}

@media (max-width: 1200px) {
  .ops-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ops-main-grid {
    grid-template-columns: 1fr;
  }

  .ops-context-panel {
    position: static;
  }
}

@media (max-width: 1024px) {
  .dashboard-shell {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    width: 280px;
    height: 100vh;
    z-index: 30;
    transition: left 0.2s ease;
  }

  .sidebar-open .dashboard-sidebar {
    left: 0;
  }

  .mobile-sidebar-trigger {
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  .dashboard-content {
    padding: 20px 24px;
  }

  .dashboard-footer {
    padding: 14px 24px 20px;
  }
}

@media (max-width: 768px) {
  .dashboard-topbar {
    height: auto;
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
    padding: 12px 16px;
  }

  .topbar-right {
    flex-wrap: wrap;
  }

  .dashboard-content {
    padding: 16px;
  }

  .ops-kpi-grid {
    grid-template-columns: 1fr;
  }

  .ops-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ops-mobile-gallery {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ops-mobile-gallery img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid #e9dcc7;
  }
}