@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,300;1,9..144,400&family=Jost:wght@300;400;500;600&display=swap');

:root {
  --font-display: 'Fraunces', serif;
  --font-sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --espresso: #1c1511;
  --espresso-dark: #120d0a;
  --espresso-light: #2b201a;
  --cream: #faf7f2;
  --cream-card: #ffffff;
  --sand: #eae2d5;
  --sand-dark: #dfd4c3;
  --copper: #bd643f;
  --copper-hover: #a3512e;
  --copper-light: #f5ebe6;
  --gold: #d4af37;

  --text-primary: #1c1511;
  --text-muted: #786c62;
  --border-color: #ebdcd0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(28, 21, 17, 0.04);
  --shadow-md: 0 8px 24px rgba(28, 21, 17, 0.08);
  --shadow-lg: 0 16px 40px rgba(28, 21, 17, 0.12);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-serif {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
}

/* Announcement Bar */
.announcement-bar {
  background: var(--espresso);
  color: var(--cream);
  font-size: 0.8125rem;
  text-align: center;
  padding: 8px 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--espresso);
}

.logo-image {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease;
}

.logo:hover .logo-image {
  transform: scale(1.03);
}

.logo-symbol {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--espresso);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.125rem;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.65rem;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.logo-subtitle {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  display: block;
  margin-top: -4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.9375rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--copper);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--espresso);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background 0.2s ease;
}

.btn-icon:hover {
  background: var(--sand);
}

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

/* Hero Section */
.hero-section {
  position: relative;
  background: var(--espresso-dark);
  color: var(--cream);
  min-height: 50vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
  filter: saturate(1.1);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,14,11,0.95) 0%, rgba(20,14,11,0.7) 50%, rgba(20,14,11,0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 1280px;
  margin: 0 auto;
  padding: 36px 24px;
  width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
  line-height: 1.05;
  margin-bottom: 24px;
  max-width: 720px;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: #f1dfd4;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--sand);
  max-width: 540px;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Primary Button */
.btn-primary {
  background: var(--copper);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(189, 100, 63, 0.35);
}

.btn-primary:hover {
  background: var(--copper-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(189, 100, 63, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(250, 247, 242, 0.4);
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 0.9375rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

/* Section Containers */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
}

.section-tag {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--espresso);
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Filter / Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 0.875rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.filter-tab:hover, .filter-tab.active {
  background: var(--espresso);
  color: var(--cream);
  border-color: var(--espresso);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 32px;
}

/* Roast Card */
.roast-card {
  background: var(--cream-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.roast-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #d6c6b8;
}

.card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1ece4;
  cursor: pointer;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.roast-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--espresso);
  color: var(--cream);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  font-weight: 500;
}

.card-cupping {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(28, 21, 17, 0.85);
  color: var(--cream);
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: 2px;
  backdrop-filter: blur(4px);
  font-family: var(--font-display);
}

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-origin {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.card-title {
  font-size: 1.35rem;
  color: var(--espresso);
  margin-bottom: 12px;
  cursor: pointer;
  transition: color 0.2s;
}

.card-title:hover {
  color: var(--copper);
}

/* Roast Level Meter */
.roast-meter {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}

.roast-meter-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  min-width: 60px;
}

.roast-dots {
  display: flex;
  gap: 4px;
}

.roast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sand);
}

.roast-dot.filled {
  background: var(--espresso);
}

/* Flavor Notes Tags */
.card-notes {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.note-tag {
  background: var(--cream);
  border: 1px solid var(--border-color);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 12px;
  color: var(--espresso);
}

.card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--cream);
}

.card-price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--espresso);
  font-weight: 500;
}

.card-price del {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-right: 6px;
}

.btn-card-add {
  background: var(--espresso);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-card-add:hover {
  background: var(--copper);
}

/* Brand Story / Roasting Philosophy */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.story-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.story-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(250, 247, 242, 0.95);
  padding: 16px 24px;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(8px);
}

.story-badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--copper);
  line-height: 1;
}

.story-badge-txt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.story-title {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 20px;
}

.story-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.story-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.metric-item h4 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--espresso);
}

.metric-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Modals & Drawers */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 11, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-box {
  background: var(--cream);
  border-radius: var(--radius-md);
  max-width: 840px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--espresso);
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.modal-close:hover {
  background: var(--sand);
}

/* Slide-over Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 14, 11, 0.5);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-drawer-overlay.active {
  display: block;
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: #fff;
  z-index: 201;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  right: 0;
}

.cart-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-title {
  font-size: 1.35rem;
  color: var(--espresso);
}

.cart-progress {
  padding: 12px 24px;
  background: var(--cream);
  font-size: 0.8125rem;
  border-bottom: 1px solid var(--border-color);
}

.progress-bar-wrap {
  height: 4px;
  background: var(--sand);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--copper);
  transition: width 0.3s ease;
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.cart-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--sand);
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-weight: 500;
  font-size: 0.9375rem;
  margin-bottom: 4px;
  color: var(--espresso);
}

.cart-item-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
}

.cart-qty-btn {
  background: none;
  border: none;
  padding: 2px 8px;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--espresso);
}

.cart-qty-btn:hover {
  background: var(--sand);
}

.cart-qty-val {
  padding: 0 8px;
  font-size: 0.8125rem;
  font-weight: 500;
}

.cart-item-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.75rem;
  text-decoration: underline;
  margin-left: 8px;
}

.cart-item-remove:hover {
  color: #c0392b;
}

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
  background: var(--cream);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.875rem;
}

.cart-summary-row.total {
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 600;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
  color: var(--espresso);
}

.btn-checkout {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  background: var(--copper);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-checkout:hover {
  background: var(--copper-hover);
}

/* Order Tracking View */
.tracking-container {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
  max-width: 760px;
  margin: 0 auto;
  box-shadow: var(--shadow-sm);
}

.timeline {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 40px 0 30px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--sand);
  z-index: 1;
}

.timeline-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.timeline-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--sand);
  margin: 0 auto 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.timeline-step.done .timeline-icon {
  border-color: var(--copper);
  background: var(--copper);
  color: #fff;
}

.timeline-step.active .timeline-icon {
  border-color: var(--espresso);
  background: var(--espresso);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(28, 21, 17, 0.15);
}

.timeline-title {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--espresso);
}

/* Admin Dashboard */
.admin-section {
  display: none;
}

.admin-section.active {
  display: block;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stat-card-title {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.stat-card-val {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--espresso);
}

.admin-table-wrap {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.875rem;
}

.admin-table th {
  background: var(--cream);
  padding: 14px 18px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

.admin-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--cream);
  color: var(--espresso);
}

.admin-table tr:hover td {
  background: rgba(250, 247, 242, 0.5);
}

/* Status Badges */
.badge-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: capitalize;
}

.badge-status.confirmed { background: #e0f2fe; color: #0369a1; }
.badge-status.roasting { background: #fef3c7; color: #b45309; }
.badge-status.quality_check { background: #f3e8ff; color: #7e22ce; }
.badge-status.dispatched { background: #dcfce7; color: #15803d; }
.badge-status.delivered { background: #d1fae5; color: #065f46; }
.badge-status.cancelled { background: #fee2e2; color: #b91c1c; }

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--espresso);
  color: var(--cream);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Footer */
footer {
  background: var(--espresso-dark);
  color: var(--sand);
  padding: 60px 24px 30px 24px;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-muted);
  max-width: 340px;
  font-size: 0.9375rem;
  margin-top: 14px;
}

.footer-col h5 {
  font-size: 0.875rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--sand);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .story-grid { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; }
}

/* --- Egyptian Checkout & 70 EGP Shipping Deposit Styling --- */
.deposit-notice-box {
  background: #fff8f0;
  border: 1px solid #fbd38d;
  border-right: 4px solid var(--copper);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.deposit-notice-title {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #7c2d12;
  margin-bottom: 4px;
}

.deposit-notice-desc {
  font-size: 0.8125rem;
  color: #9a3412;
  line-height: 1.5;
}

.egypt-form-group {
  margin-bottom: 16px;
}

.egypt-form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--espresso);
  margin-bottom: 6px;
}

.egypt-form-input, .egypt-form-select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.875rem;
  background: #fff;
  transition: border-color 0.2s;
}

.egypt-form-input:focus, .egypt-form-select:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(189, 100, 63, 0.15);
}

.payment-method-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.payment-card-option {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-card-option:hover {
  border-color: var(--copper-light);
}

.payment-card-option.active {
  border-color: var(--copper);
  background: #fdfaf7;
}

.payment-card-radio {
  accent-color: var(--copper);
  width: 18px;
  height: 18px;
}

.transfer-info-card {
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
}

.transfer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-top: 8px;
}

.transfer-value {
  font-family: monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--espresso);
  letter-spacing: 0.05em;
}

.btn-copy {
  background: var(--espresso);
  color: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s;
}

.btn-copy:hover {
  background: var(--copper);
}

.checkout-split-summary {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 24px;
}

.split-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.split-row.highlight-paynow {
  border-top: 1px dashed var(--border-color);
  margin-top: 8px;
  padding-top: 12px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--copper);
  font-family: var(--font-display);
}

.split-row.highlight-cod {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2b201a;
  background: var(--cream);
  padding: 8px 12px;
  border-radius: 4px;
  margin-top: 8px;
}

/* Screenshot Proof Upload Dropzone */
.receipt-dropzone {
  border: 2px dashed var(--copper-light);
  background: #fdfcf9;
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.receipt-dropzone:hover {
  background: #faf4ed;
  border-color: var(--copper);
}

.receipt-dropzone svg {
  color: var(--copper);
  margin-bottom: 4px;
}

.btn-remove-receipt {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(185, 28, 28, 0.9);
  color: #fff;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-remove-receipt:hover {
  background: #991b1b;
}

.cod-reassurance-box {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cod-reassurance-box .cod-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.cod-reassurance-box .cod-title {
  font-weight: 700;
  color: #065f46;
  font-size: 0.9375rem;
  margin-bottom: 4px;
}

.cod-reassurance-box .cod-desc {
  font-size: 0.8125rem;
  color: #047857;
  line-height: 1.5;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

