/* shop.css — styles for /shop, /shop/:slug, /order/success pages */

/* ─── Shop Header ───────────────────────────────────────────── */
.shop-main {
  padding-top: 90px;
}

.shop-header {
  padding: 72px 0 56px;
  background:
    radial-gradient(ellipse 60% 60% at 70% 20%, rgba(201,147,58,0.07) 0%, transparent 70%),
    var(--bg-warm);
  border-bottom: 1px solid var(--border-dim);
  margin-bottom: 64px;
}

.shop-header__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin-bottom: 16px;
}

.shop-header__title em {
  font-style: italic;
  color: var(--gold);
}

.shop-header__sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-dim);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.shop-header__trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.shop-header__trust span {
  font-size: 13px;
  color: var(--cream-dim);
  font-weight: 400;
}

/* ─── Shop Grid ─────────────────────────────────────────────── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 64px;
}

/* ─── Shop Card ─────────────────────────────────────────────── */
.shop-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  position: relative;
  display: flex;
  flex-direction: column;
}

.shop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card), 0 0 28px rgba(201,147,58,0.1);
  border-color: var(--border);
}

.shop-card--featured {
  border-color: rgba(201,147,58,0.5);
  box-shadow: 0 0 0 1px rgba(201,147,58,0.15);
}

.shop-card__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 100px;
  z-index: 2;
}

.shop-card__media {
  display: block;
  width: 100%;
  height: 180px;
  background: var(--bg-card-2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
}

.shop-card__media:hover { background: #2a1e15; }

.shop-card__emoji {
  font-size: 72px;
  line-height: 1;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.5));
  transition: transform 0.3s;
}

.shop-card:hover .shop-card__emoji { transform: scale(1.1) rotate(-3deg); }

.shop-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.shop-card__origin {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.shop-card__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 4px;
}

.shop-card__name a {
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s;
}

.shop-card__name a:hover { color: var(--gold); }

.shop-card__subtitle {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 300;
  margin-bottom: 14px;
}

.shop-card__tasting {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.tasting-note {
  font-size: 11px;
  font-weight: 500;
  color: var(--cream-dim);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-dim);
  border-radius: 100px;
  padding: 3px 10px;
}

.tasting-note--lg {
  font-size: 13px;
  padding: 5px 14px;
}

.shop-card__desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.shop-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.shop-card__price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--cream);
}

.shop-card__buy {
  font-size: 13px;
  padding: 10px 18px;
}

.shop-footer-note {
  text-align: center;
  padding: 32px 0 64px;
  border-top: 1px solid var(--border-dim);
}

.shop-footer-note p {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-dim);
}

/* ─── Product Detail ────────────────────────────────────────── */
.product-main {
  padding-top: 100px;
  padding-bottom: 80px;
  min-height: 80vh;
}

.product-back {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 48px;
  transition: color 0.2s;
}

.product-back:hover { color: var(--cream); }

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.product-detail__visual {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
  padding: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.product-detail__emoji {
  font-size: 120px;
  line-height: 1;
  filter: drop-shadow(0 8px 32px rgba(0,0,0,0.6));
}

.product-detail__origin-badge {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,147,58,0.1);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 18px;
}

.product-detail__name {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 20px;
}

.product-detail__desc {
  font-size: 17px;
  font-weight: 300;
  color: var(--cream-dim);
  line-height: 1.75;
  margin-bottom: 32px;
}

.product-detail__tasting-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 12px;
}

.product-detail__notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.product-detail__purchase {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-md);
}

.product-detail__price {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 16px;
}

.product-detail__price span {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: var(--text-dim);
}

.product-detail__cta {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 16px 32px;
  margin-bottom: 14px;
}

.product-detail__reassurance {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 300;
  text-align: center;
}

/* ─── Order Success ─────────────────────────────────────────── */
.success-main {
  padding-top: 100px;
  padding-bottom: 80px;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.success-card {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.success-icon {
  font-size: 72px;
  margin-bottom: 24px;
  animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes successPop {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.success-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 16px;
}

.success-sub {
  font-size: 17px;
  font-weight: 300;
  color: var(--cream-dim);
  line-height: 1.7;
  margin-bottom: 40px;
}

.success-details {
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-md);
  padding: 24px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.success-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.success-detail-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }

.success-detail-item strong {
  display: block;
  color: var(--cream);
  font-size: 14px;
  margin-bottom: 4px;
}

.success-detail-item p {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.5;
  margin: 0;
}

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

/* ─── Admin Styles ──────────────────────────────────────────── */
.admin-badge {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(201,147,58,0.15);
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; gap: 40px; }
  .product-detail__visual { padding: 40px; }
}

@media (max-width: 600px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-card__footer { flex-direction: column; align-items: flex-start; }
  .shop-card__buy { width: 100%; justify-content: center; }
  .success-actions { flex-direction: column; }
}
