/* ===== BLACK FARM 黑田市集 — Black Gold Theme ===== */

/* ===== Reset & Global ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #121212;
  color: #ffffff;
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: #d4af37;
  text-decoration: none;
}

a:hover {
  color: #e5c158;
}

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

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

/* ===== Top Banner ===== */
.top-banner {
  background: #d4af37;
  color: #121212;
  padding: 8px 0;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

/* ===== Header / Nav ===== */
.header {
  background: #0a0a0a;
  border-bottom: 1px solid #2a2a2a;
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #d4af37;
  color: #121212;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 20px;
  font-weight: bold;
  color: #d4af37;
  letter-spacing: 1px;
  line-height: 1.2;
}

.logo-sub {
  font-size: 11px;
  color: #888;
  letter-spacing: 2px;
}

/* Nav links */
.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav a {
  color: #ccc;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav a:hover {
  color: #d4af37;
}

/* Cart icon */
.cart-icon {
  position: relative;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* Header right (auth + cart) */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-login {
  color: #d4af37;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.header-login:hover { color: #e5c158; }

.header-auth {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-email {
  font-size: 12px;
  color: #aaa;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-logout {
  color: #888;
  font-size: 13px;
  white-space: nowrap;
}

.header-logout:hover { color: #ff9b9b; }

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #d4af37;
  color: #121212;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* ===== Hero ===== */
.hero {
  padding: 60px 0;
  text-align: center;
  background: linear-gradient(180deg, #1a1a1a 0%, #121212 100%);
}

.hero h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 16px;
  line-height: 1.2;
  color: #fff;
}

.hero h1 .highlight {
  color: #d4af37;
}

.hero p {
  font-size: 18px;
  color: #aaa;
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-block;
  background: #d4af37;
  color: #121212;
  padding: 14px 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.btn-primary:hover {
  background: #e5c158;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  color: #121212;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: #d4af37;
  padding: 14px 40px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  border: 2px solid #d4af37;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
}

.btn-outline:hover {
  background: rgba(212, 175, 55, 0.1);
  color: #e5c158;
}

.btn-block {
  display: block;
  width: 100%;
}

.btn-lg {
  padding: 14px 40px;
  font-size: 16px;
}

/* ===== Section Title ===== */
.section-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 24px;
  color: #fff;
  border-bottom: 2px solid #d4af37;
  padding-bottom: 8px;
  display: inline-block;
}

.section-sub {
  font-size: 15px;
  color: #aaa;
  margin-bottom: 24px;
}

/* ===== Page Header (inner pages) ===== */
.page-header {
  padding: 40px 0 24px;
  background: linear-gradient(180deg, #1a1a1a 0%, #121212 100%);
}

.page-title {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 8px;
}

.page-sub {
  font-size: 15px;
  color: #aaa;
}

.back-link {
  display: inline-block;
  font-size: 14px;
  color: #aaa;
  margin-bottom: 24px;
}

.back-link:hover {
  color: #d4af37;
}

/* ===== Category Grid ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.category-card {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s;
  display: block;
}

.category-card:hover {
  border-color: #d4af37;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.category-card .icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}

.category-card .name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

/* ===== Product Grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.product-card {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 20px;
  border: 2px solid transparent;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  border-color: #d4af37;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.product-img {
  font-size: 52px;
  text-align: center;
  margin-bottom: 12px;
  display: block;
  line-height: 1;
}

.product-category {
  font-size: 11px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.product-name {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-desc {
  font-size: 12px;
  color: #999;
  margin-bottom: 12px;
  flex-grow: 1;
  line-height: 1.4;
}

.product-price {
  font-size: 18px;
  font-weight: bold;
  color: #d4af37;
  margin-bottom: 12px;
}

.btn-add {
  width: 100%;
  background: #d4af37;
  color: #121212;
  border: none;
  padding: 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-add:hover {
  background: #e5c158;
}

/* Bundle tag */
.bundle-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #d4af37;
  color: #121212;
  font-size: 10px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
}

/* ===== Bundle Section ===== */
.bundle-section {
  margin-top: 48px;
  background: #1a1a1a;
  padding: 40px 0;
  border-radius: 16px;
}

/* Bundle card (detailed style) */
.bundle-card {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 20px;
  border: 2px solid #d4af37;
  transition: all 0.3s;
  position: relative;
  cursor: pointer;
}

.bundle-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.2);
}

.bundle-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.bundle-emoji {
  font-size: 40px;
  line-height: 1;
}

.bundle-tag-label {
  font-size: 10px;
  font-weight: bold;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bundle-name {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  line-height: 1.3;
}

.bundle-desc {
  font-size: 12px;
  color: #999;
  margin-bottom: 12px;
  line-height: 1.4;
}

.includes-list {
  list-style: none;
  margin-bottom: 12px;
  padding: 0;
}

.includes-list li {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #ccc;
  padding: 4px 0;
  border-bottom: 1px solid #2a2a2a;
}

.includes-list li:last-child {
  border-bottom: none;
}

.includes-qty {
  color: #d4af37;
  font-weight: 600;
}

.bundle-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.bundle-price {
  font-size: 20px;
  font-weight: bold;
  color: #d4af37;
  white-space: nowrap;
}

/* ===== Filter Bar ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-btn {
  background: #1e1e1e;
  color: #ccc;
  border: 1px solid #333;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: #d4af37;
  color: #d4af37;
}

.filter-btn.active {
  background: #d4af37;
  color: #121212;
  border-color: #d4af37;
  font-weight: bold;
}

/* ===== Product Detail ===== */
.product-detail {
  padding: 40px 0;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.detail-img-wrap {
  position: relative;
}

.detail-img {
  font-size: 120px;
  text-align: center;
  background: #1e1e1e;
  border-radius: 16px;
  padding: 60px;
  line-height: 1;
}

.detail-badge {
  position: absolute;
  top: 16px;
  right: 16px;
}

.detail-category {
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.detail-name {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 16px;
  color: #fff;
  line-height: 1.2;
}

.detail-price {
  font-size: 28px;
  font-weight: bold;
  color: #d4af37;
  margin-bottom: 16px;
}

.detail-desc {
  font-size: 15px;
  color: #ccc;
  margin-bottom: 24px;
  line-height: 1.6;
}

.detail-includes {
  background: #1e1e1e;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.detail-includes h3,
.detail-includes h4 {
  color: #d4af37;
  margin-bottom: 8px;
  font-size: 16px;
}

.detail-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.detail-stock {
  font-size: 13px;
  color: #888;
}

/* ===== Quantity Selector ===== */
.qty-selector {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 36px;
  height: 36px;
  background: #2a2a2a;
  border: 1px solid #444;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.qty-btn:hover {
  border-color: #d4af37;
  color: #d4af37;
}

.qty-value {
  font-size: 18px;
  font-weight: bold;
  min-width: 40px;
  text-align: center;
  color: #fff;
}

/* ===== Cart Page ===== */
.cart-page {
  padding: 40px 0;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

.cart-items {
  margin-bottom: 0;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #1e1e1e;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

.cart-item-img {
  font-size: 40px;
  width: 60px;
  text-align: center;
  flex-shrink: 0;
}

.cart-item-info {
  flex-grow: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #fff;
}

.cart-item-price {
  font-size: 14px;
  color: #d4af37;
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-qty-btn {
  width: 30px;
  height: 30px;
  font-size: 16px;
  padding: 0;
}

.cart-item-total {
  font-size: 16px;
  font-weight: bold;
  color: #d4af37;
  min-width: 70px;
  text-align: right;
}

.cart-remove {
  background: none;
  border: none;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: all 0.2s;
}

.cart-remove:hover {
  color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
}

/* Cart Summary */
.cart-summary {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 24px;
}

.cart-summary h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
  padding-bottom: 12px;
  border-bottom: 1px solid #333;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 15px;
  color: #ccc;
}

.summary-note {
  font-size: 12px;
  color: #888;
  margin-bottom: 12px;
  font-style: italic;
}

.summary-note.free {
  color: #d4af37;
  font-style: normal;
}

.summary-total {
  font-size: 20px;
  font-weight: bold;
  color: #d4af37;
  border-top: 1px solid #333;
  padding-top: 12px;
  margin-top: 12px;
}

/* ===== Checkout Page ===== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
}

.checkout-form h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
  padding-bottom: 12px;
  border-bottom: 1px solid #333;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  color: #aaa;
  margin-bottom: 6px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #333;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #d4af37;
  outline: none;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Checkout summary */
.checkout-summary {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 100px;
}

.checkout-summary h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff;
  padding-bottom: 12px;
  border-bottom: 1px solid #333;
}

.checkout-items {
  margin-bottom: 16px;
  max-height: 240px;
  overflow-y: auto;
}

.checkout-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #2a2a2a;
  font-size: 13px;
}

.checkout-item:last-child {
  border-bottom: none;
}

.checkout-item-emoji {
  font-size: 20px;
}

.checkout-item-name {
  flex-grow: 1;
  color: #ccc;
}

.checkout-item-price {
  color: #d4af37;
  font-weight: 600;
  white-space: nowrap;
}

/* ===== Pay Link Box ===== */
.pay-link-box {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
  border: 1px solid #d4af37;
}

.pay-link-box h4 {
  color: #d4af37;
  margin-bottom: 8px;
  font-size: 16px;
}

.pay-link-box p {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 12px;
}

.pay-link-input {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.pay-link-input input {
  flex-grow: 1;
  background: #121212;
  border: 1px solid #d4af37;
  color: #d4af37;
  padding: 10px;
  border-radius: 8px;
  font-size: 13px;
  font-family: monospace;
}

.pay-link-hint {
  font-size: 12px;
  color: #888;
  font-style: italic;
}

/* Pay page */
.pay-notice {
  background: #1e1e1e;
  border-left: 4px solid #d4af37;
  padding: 16px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 20px;
  font-size: 14px;
  color: #ccc;
}

.pay-address {
  background: #1a1a1a;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 16px;
  font-size: 13px;
  color: #aaa;
}

.pay-secure {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-top: 12px;
}

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

.empty-state h2 {
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 8px;
}

.empty-state p {
  font-size: 15px;
  color: #aaa;
  margin-bottom: 24px;
}

/* ===== Success Page ===== */
.success-page {
  text-align: center;
  padding: 60px 20px;
}

.success-icon {
  font-size: 80px;
  margin-bottom: 24px;
}

.success-title {
  font-size: 36px;
  font-weight: bold;
  color: #d4af37;
  margin-bottom: 16px;
}

.success-sub {
  font-size: 17px;
  color: #aaa;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.success-details {
  background: #1e1e1e;
  border-radius: 12px;
  padding: 24px;
  max-width: 500px;
  margin: 0 auto 32px;
  text-align: left;
}

.success-details p {
  font-size: 15px;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 600;
}

.success-details ul {
  list-style: none;
  padding: 0;
}

.success-details li {
  font-size: 14px;
  color: #ccc;
  padding: 6px 0;
}

.success-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== 404 Page ===== */
.error-page {
  text-align: center;
  padding: 80px 20px;
}

.error-code {
  font-size: 96px;
  font-weight: bold;
  color: #d4af37;
  line-height: 1;
  margin-bottom: 16px;
}

.error-title {
  font-size: 28px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 12px;
}

.error-sub {
  font-size: 16px;
  color: #aaa;
  margin-bottom: 32px;
}

.error-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
  background: #0a0a0a;
  border-top: 1px solid #2a2a2a;
  padding: 32px 0;
  text-align: center;
  color: #888;
  font-size: 13px;
  margin-top: 60px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  text-align: left;
  margin-bottom: 24px;
}

.footer-col h4 {
  color: #d4af37;
  font-size: 14px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  color: #888;
  font-size: 13px;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #d4af37;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  color: #d4af37;
  margin-bottom: 8px;
  font-size: 16px;
}

.footer-logo .logo-icon {
  width: 32px;
  height: 32px;
  font-size: 13px;
}

.footer-tagline {
  font-size: 13px;
  color: #888;
  font-style: italic;
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1e1e1e;
  border-left: 4px solid #d4af37;
  color: #fff;
  padding: 16px 24px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  font-size: 14px;
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
  max-width: 320px;
}

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

/* ===== Responsive ===== */
@media (max-width: 920px) {
  .category-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-inner {
    flex-direction: column;
    gap: 16px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .detail-grid,
  .checkout-layout,
  .cart-layout {
    grid-template-columns: 1fr;
  }

  .cart-summary,
  .checkout-summary {
    max-width: 100%;
    margin-left: 0;
  }

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

  .footer-logo {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 15px;
  }

  .container {
    padding: 0 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .nav {
    gap: 12px;
  }

  .nav a {
    font-size: 13px;
  }

  .section-title {
    font-size: 22px;
  }

  .detail-name {
    font-size: 24px;
  }

  .detail-img {
    font-size: 80px;
    padding: 40px;
  }

  .cart-item {
    flex-wrap: wrap;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
    max-width: none;
  }
}

/* ===== Product images (2026-10-11: emoji -> webp) ===== */
.product-img img {
  width: 100%; height: 170px; object-fit: cover;
  border-radius: 10px; display: block;
}
.detail-img img {
  width: 100%; max-height: 420px; object-fit: cover;
  border-radius: 12px; display: block;
}
.cart-item-img img {
  width: 64px; height: 64px; object-fit: cover;
  border-radius: 8px; display: block;
}
.checkout-item-emoji img {
  width: 40px; height: 40px; object-fit: cover;
  border-radius: 6px; display: inline-block; vertical-align: middle;
}

/* ===== Age gate modal (2026-10-11) ===== */
#age-gate {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.75);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.age-gate-box {
  background: #1a1a1a; color: #fff;
  border-radius: 16px; padding: 36px 32px;
  max-width: 380px; width: 100%; text-align: center;
  border: 1px solid #333;
}
.age-gate-icon { font-size: 48px; margin-bottom: 12px; }
.age-gate-box h3 { margin: 0 0 10px; font-size: 22px; }
.age-gate-box p { color: #aaa; margin: 0 0 24px; line-height: 1.6; }
.age-gate-btns { display: flex; flex-direction: column; gap: 10px; }
.age-gate-btns .btn-secondary {
  background: transparent; color: #888;
  border: 1px solid #444; border-radius: 8px;
  padding: 12px; cursor: pointer; font-size: 15px;
}
.age-gate-btns .btn-secondary:hover { color: #fff; border-color: #666; }

/* ===== Language toggle (2026-10-11) ===== */
.lang-toggle {
  background: transparent; color: #aaa;
  border: 1px solid #444; border-radius: 6px;
  padding: 6px 10px; cursor: pointer; font-size: 13px;
  margin-right: 8px;
}
.lang-toggle:hover { color: #fff; border-color: #888; }
