/* ============================================================
   MushVeda — Cart · Checkout · Orders
   ============================================================ */

/* ---------- Header cart button ---------- */
.cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border, rgba(255,255,255,.14));
  background: rgba(255, 255, 255, 0.05);
  color: var(--text, #f5f0e6);
  cursor: pointer;
  transition: all 0.35s var(--ease, cubic-bezier(.22,1,.36,1));
  flex-shrink: 0;
}
.cart-btn:hover {
  border-color: var(--gold, #d4af37);
  color: var(--gold-bright, #f0d890);
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 10px 26px rgba(212, 175, 55, 0.25);
}
.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold, #d4af37), #a87e23);
  color: #1a1206;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.35s cubic-bezier(.34,1.56,.64,1);
}
.cart-count.on { opacity: 1; transform: scale(1); }
.cart-count.bump { animation: cartBump 0.5s cubic-bezier(.34,1.56,.64,1); }
@keyframes cartBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.55) rotate(-8deg); }
  100% { transform: scale(1); }
}

/* ---------- Drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 6, 3, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 200;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100%;
  background: linear-gradient(165deg, #14100a 0%, #0d0b07 100%);
  border-left: 1px solid rgba(212, 175, 55, 0.25);
  z-index: 201;
  transform: translateX(105%);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -30px 0 80px rgba(0, 0, 0, 0.5);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.cart-drawer-head h3 {
  margin: 0;
  font-family: var(--serif, Georgia, serif);
  font-size: 1.35rem;
  background: linear-gradient(120deg, var(--gold-bright, #f0d890), var(--gold, #d4af37));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cart-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--text, #f5f0e6);
  font-size: 1.15rem;
  cursor: pointer;
  transition: 0.3s;
}
.cart-close:hover { border-color: var(--gold, #d4af37); color: var(--gold-bright, #f0d890); transform: rotate(90deg); }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 12px 18px; }
.cart-drawer-foot {
  padding: 18px 22px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(212, 175, 55, 0.04);
}

/* ---------- Cart item rows ---------- */
.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  padding: 14px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 10px;
  animation: cartIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes cartIn {
  from { opacity: 0; transform: translateX(28px); }
  to { opacity: 1; transform: translateX(0); }
}
.cart-item-name { font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.cart-item-weight { color: var(--text-dim, #b9ae9a); font-size: 0.8rem; margin-top: 2px; }
.cart-item-price { font-family: var(--serif, Georgia, serif); color: var(--gold-bright, #f0d890); font-size: 1.05rem; text-align: right; }
.cart-item-row2 {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}
.mini-stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}
.mini-stepper button {
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: var(--text, #f5f0e6);
  font-size: 1rem;
  cursor: pointer;
  transition: 0.25s;
}
.mini-stepper button:hover { background: rgba(212, 175, 55, 0.18); color: var(--gold-bright, #f0d890); }
.mini-stepper .mini-qty {
  width: 32px;
  text-align: center;
  background: transparent;
  border: 0;
  color: var(--text, #f5f0e6);
  font-weight: 700;
  font-size: 0.9rem;
}
.cart-remove {
  border: 0;
  background: none;
  color: var(--text-dim, #b9ae9a);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: underline;
  transition: 0.25s;
}
.cart-remove:hover { color: var(--red, #c2452d); }

/* ---------- Drawer totals ---------- */
.drawer-sub {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.drawer-sub .lbl { color: var(--text-dim, #b9ae9a); font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase; }
.drawer-sub .val { font-family: var(--serif, Georgia, serif); font-size: 1.55rem; color: var(--gold-bright, #f0d890); }
.drawer-actions { display: grid; gap: 10px; }

/* ---------- Empty state ---------- */
.cart-empty {
  text-align: center;
  padding: 48px 18px;
  color: var(--text-dim, #b9ae9a);
}
.cart-empty .shroom { font-size: 3.2rem; display: block; margin-bottom: 14px; filter: drop-shadow(0 10px 22px rgba(212,175,55,.3)); animation: floatY 4s ease-in-out infinite; }
.cart-empty h4 { color: var(--text, #f5f0e6); margin: 0 0 8px; font-family: var(--serif, Georgia, serif); }

/* ---------- Cart / checkout pages ---------- */
.cart-page-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
  align-items: start;
}
.cart-line {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  margin-bottom: 12px;
  transition: 0.35s;
}
.cart-line:hover { border-color: rgba(212, 175, 55, 0.35); transform: translateY(-2px); }
.cart-line .line-total { font-family: var(--serif, Georgia, serif); font-size: 1.25rem; color: var(--gold-bright, #f0d890); min-width: 90px; text-align: right; }

.summary-card {
  position: sticky;
  top: 100px;
  padding: 26px;
  border-radius: 22px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.09), rgba(255, 255, 255, 0.02));
}
.summary-card h3 { margin: 0 0 18px; font-family: var(--serif, Georgia, serif); color: var(--gold-bright, #f0d890); font-size: 1.35rem; }
.sum-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  color: var(--text-dim, #b9ae9a);
  font-size: 0.95rem;
}
.sum-row .v { color: var(--text, #f5f0e6); font-weight: 600; }
.sum-row.discount .v { color: var(--green, #7cc576); }
.sum-row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 10px;
  padding-top: 14px;
  font-size: 1.05rem;
}
.sum-row.total .v {
  font-family: var(--serif, Georgia, serif);
  font-size: 1.75rem;
  color: var(--gold-bright, #f0d890);
}
.free-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(124, 197, 118, 0.15);
  color: var(--green, #7cc576);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---------- Promo row ---------- */
.promo-row { display: flex; gap: 10px; margin: 14px 0 6px; }
.promo-row input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text, #f5f0e6);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.promo-row input:focus { outline: none; border-color: var(--gold, #d4af37); }
.promo-msg { font-size: 0.82rem; min-height: 1.2em; margin: 2px 0 8px; }
.promo-msg.ok { color: var(--green, #7cc576); }
.promo-msg.err { color: var(--red, #c2452d); }
.promo-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-bright, #f0d890);
  font-size: 0.85rem;
  font-weight: 700;
}
.promo-chip button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  opacity: 0.8;
}
.promo-chip button:hover { opacity: 1; }

/* ---------- Checkout ---------- */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 30px;
  align-items: start;
}
.checkout-form-card {
  padding: 30px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
}
.checkout-form-card h3 {
  margin: 0 0 6px;
  font-family: var(--serif, Georgia, serif);
  font-size: 1.45rem;
  color: var(--gold-bright, #f0d890);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pay-options { display: grid; gap: 12px; margin-top: 8px; }
.pay-option {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: 0.3s;
}
.pay-option:hover { border-color: rgba(212, 175, 55, 0.45); }
.pay-option.selected {
  border-color: var(--gold, #d4af37);
  background: rgba(212, 175, 55, 0.09);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.12);
}
.pay-option input { accent-color: var(--gold, #d4af37); margin-top: 4px; }
.pay-option .pay-title { font-weight: 700; }
.pay-option .pay-desc { color: var(--text-dim, #b9ae9a); font-size: 0.85rem; margin-top: 3px; line-height: 1.5; }
.field-err {
  color: var(--red, #c2452d);
  font-size: 0.78rem;
  margin-top: 5px;
  display: none;
}
.field-err.show { display: block; animation: fadeUp 0.3s both; }
.input-bad { border-color: var(--red, #c2452d) !important; }

/* ---------- Success ---------- */
.order-success {
  display: none;
  text-align: center;
  padding: 54px 30px;
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: linear-gradient(165deg, rgba(212, 175, 55, 0.12), rgba(255, 255, 255, 0.02));
  animation: fadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.order-success.show { display: block; }
.success-ring {
  width: 92px;
  height: 92px;
  margin: 0 auto 22px;
  border-radius: 50%;
  border: 2px solid var(--gold, #d4af37);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  color: var(--gold-bright, #f0d890);
  animation: successPop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes successPop {
  from { transform: scale(0.3); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.order-id-chip {
  display: inline-block;
  margin: 12px 0 22px;
  padding: 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px dashed rgba(212, 175, 55, 0.55);
  font-family: var(--code, "Courier New", monospace);
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  color: var(--gold-bright, #f0d890);
}
.success-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }

/* ---------- Orders page ---------- */
.order-card {
  padding: 24px 26px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  margin-bottom: 16px;
  transition: 0.35s;
}
.order-card:hover { border-color: rgba(212, 175, 55, 0.35); }
.order-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.order-card-head .oid {
  font-family: var(--code, "Courier New", monospace);
  letter-spacing: 0.1em;
  color: var(--gold-bright, #f0d890);
  font-weight: 700;
}
.status-pill {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.status-received { background: rgba(212, 175, 55, 0.16); color: var(--gold-bright, #f0d890); }
.status-confirmed { background: rgba(124, 197, 118, 0.15); color: var(--green, #7cc576); }
.status-transit { background: rgba(110, 168, 254, 0.15); color: #6ea8fe; }
.status-delivered { background: rgba(124, 197, 118, 0.22); color: var(--green, #7cc576); }
.order-items-list { margin: 10px 0; padding: 0; list-style: none; }
.order-items-list li {
  display: flex;
  justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
  color: var(--text-dim, #b9ae9a);
  font-size: 0.93rem;
}
.order-items-list li b { color: var(--text, #f5f0e6); font-weight: 600; }
.order-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.order-total-lg { font-family: var(--serif, Georgia, serif); font-size: 1.5rem; color: var(--gold-bright, #f0d890); }

/* ---------- Toast ---------- */
.cart-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  padding: 13px 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold, #d4af37), #a87e23);
  color: #1a1206;
  font-weight: 800;
  font-size: 0.92rem;
  z-index: 400;
  opacity: 0;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  box-shadow: 0 18px 46px rgba(212, 175, 55, 0.35);
}
.cart-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cart-page-grid,
  .checkout-grid { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .form-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cart-line { grid-template-columns: 1fr; }
  .cart-line .line-total { text-align: left; }
}

/* ============================================================
   Order status · tracking · account · how-to-order · compare
   ============================================================ */

/* ---------- Status stepper ---------- */
.status-steps {
  display: flex;
  align-items: flex-start;
  margin: 18px 0 6px;
  position: relative;
}
.status-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}
.status-step .dot {
  width: 34px;
  height: 34px;
  margin: 0 auto 8px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.18);
  background: #14100a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: 0.5s;
}
.status-step .st-label {
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-dim, #b9ae9a);
  transition: 0.4s;
}
.status-step .st-time {
  display: block;
  font-size: 0.68rem;
  opacity: 0.65;
  margin-top: 2px;
  text-transform: none;
  letter-spacing: 0;
}
.status-step::before {
  content: "";
  position: absolute;
  top: 17px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.12);
}
.status-step:first-child::before { display: none; }
.status-step.done .dot {
  border-color: var(--gold, #d4af37);
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-bright, #f0d890);
}
.status-step.done .st-label { color: var(--gold-bright, #f0d890); }
.status-step.done::before { background: var(--gold, #d4af37); }
.status-step.current .dot {
  border-color: var(--gold-bright, #f0d890);
  background: var(--gold, #d4af37);
  color: #1a1206;
  box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.18);
  animation: pulseDot 2.2s ease-in-out infinite;
}
.status-step.current .st-label { color: var(--text, #f5f0e6); font-weight: 800; }
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.16); }
  50% { box-shadow: 0 0 0 11px rgba(212, 175, 55, 0.05); }
}

/* ---------- Order summary blocks ---------- */
.order-summary-box {
  margin-top: 14px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  background: rgba(212, 175, 55, 0.05);
}
.order-summary-box h4 {
  margin: 0 0 12px;
  font-family: var(--serif, Georgia, serif);
  color: var(--gold-bright, #f0d890);
  font-size: 1.12rem;
}
.addr-block {
  color: var(--text-dim, #b9ae9a);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}
.addr-block b { color: var(--text, #f5f0e6); }
.order-details-wrap { overflow: hidden; max-height: 0; transition: max-height 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.order-details-wrap.open { max-height: 1400px; }

/* ---------- Track page ---------- */
.track-search {
  display: flex;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto 30px;
}
.track-search input {
  flex: 1;
  padding: 15px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text, #f5f0e6);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.track-search input:focus { outline: none; border-color: var(--gold, #d4af37); }
.track-card {
  padding: 30px;
  border-radius: 22px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: linear-gradient(165deg, rgba(212, 175, 55, 0.08), rgba(255, 255, 255, 0.02));
}
.track-note {
  text-align: center;
  color: var(--text-dim, #b9ae9a);
  font-size: 0.88rem;
  margin-top: 22px;
  line-height: 1.75;
}

/* ---------- How to order steps strip ---------- */
.steps-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step-card {
  position: relative;
  padding: 30px 22px 26px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);
  transition: 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.step-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
  transform: translateY(-7px);
  box-shadow: 0 26px 54px rgba(212, 175, 55, 0.12);
}
.step-card::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -14px;
  left: 20px;
  font-family: var(--serif, Georgia, serif);
  font-size: 2.35rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--gold-bright, #f0d890), var(--gold, #d4af37));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.95;
}
.step-card .step-icon { font-size: 1.9rem; margin-bottom: 10px; display: block; }
.step-card h4 { margin: 0 0 8px; font-family: var(--serif, Georgia, serif); font-size: 1.18rem; }
.step-card p { margin: 0; color: var(--text-dim, #b9ae9a); font-size: 0.9rem; line-height: 1.65; }
.step-card .step-cta { display: inline-block; margin-top: 12px; font-size: 0.86rem; font-weight: 700; color: var(--gold-bright, #f0d890); text-decoration: none; border-bottom: 1px solid rgba(212, 175, 55, 0.4); padding-bottom: 2px; }
.step-card .step-cta:hover { border-color: var(--gold-bright, #f0d890); }

/* ---------- Compare table ---------- */
.compare-wrap { overflow-x: auto; border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.1); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.compare-table th, .compare-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.92rem;
}
.compare-table th {
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold-bright, #f0d890);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.compare-table tr { transition: 0.25s; }
.compare-table tbody tr:hover { background: rgba(212, 175, 55, 0.07); }
.compare-table td:first-child { font-weight: 700; color: var(--text, #f5f0e6); }
.compare-table .price-from { color: var(--gold-bright, #f0d890); font-family: var(--serif, Georgia, serif); font-size: 1.05rem; }

/* ---------- Account hub (signin) ---------- */
.account-hub { text-align: center; padding: 12px 6px 6px; }
.account-hub .hub-avatar {
  width: 84px;
  height: 84px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold, #d4af37), #7a5d1a);
  color: #1a1206;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif, Georgia, serif);
  font-size: 2.1rem;
  font-weight: 800;
}
.hub-links { display: grid; gap: 12px; margin: 22px 0 8px; }
.hub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text, #f5f0e6);
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}
.hub-link:hover { border-color: var(--gold, #d4af37); transform: translateX(5px); color: var(--gold-bright, #f0d890); }

/* ---------- Success summary ---------- */
.success-summary {
  max-width: 560px;
  margin: 26px auto 0;
  text-align: left;
  padding: 22px 26px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
}

/* ---------- FAQ (index) ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  overflow: hidden;
  transition: 0.35s;
}
.faq-item.open { border-color: rgba(212, 175, 55, 0.45); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 19px 22px;
  background: none;
  border: 0;
  color: var(--text, #f5f0e6);
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-q .chev { transition: 0.35s; color: var(--gold-bright, #f0d890); }
.faq-item.open .chev { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  color: var(--text-dim, #b9ae9a);
  line-height: 1.75;
  font-size: 0.94rem;
}
.faq-a-inner { padding: 0 22px 20px; }

/* ---------- Admin order filter chips + status select ---------- */
.filter-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-chip {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
  color: var(--text-dim, #b9ae9a);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}
.filter-chip:hover { border-color: var(--gold, #d4af37); color: var(--gold-bright, #f0d890); }
.filter-chip.active {
  background: rgba(212, 175, 55, 0.16);
  border-color: var(--gold, #d4af37);
  color: var(--gold-bright, #f0d890);
}
.status-select {
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: #14100a;
  color: var(--gold-bright, #f0d890);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- Print invoice ---------- */
@media print {
  body * { visibility: hidden; }
  .invoice-sheet, .invoice-sheet * { visibility: visible; }
  .invoice-sheet {
    position: absolute;
    inset: 0;
    margin: 0;
    padding: 34px;
    background: #fff !important;
    color: #222 !important;
    border: 0;
  }
  .invoice-sheet h1, .invoice-sheet h2, .invoice-sheet h3, .invoice-sheet .gold-txt {
    color: #8a6a14 !important;
  }
  .invoice-sheet table { width: 100%; border-collapse: collapse; }
  .invoice-sheet th, .invoice-sheet td {
    border: 1px solid #ccc;
    padding: 9px 12px;
    color: #222 !important;
    text-align: left;
    font-size: 12.5px;
  }
  .invoice-sheet .no-print { display: none !important; }
}

@media (max-width: 900px) {
  .steps-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps-strip { grid-template-columns: 1fr; }
  .status-step .st-label { font-size: 0.62rem; }
  .track-search { flex-direction: column; }
}

/* ---------- On-screen invoice (auto-created at checkout) ---------- */
.invoice-mount {
  max-width: 640px;
  margin: 28px auto 0;
  text-align: left;
}
.invoice-sheet {
  background: #faf7f0;
  color: #2a2418;
  border-radius: 18px;
  padding: 28px 30px;
  border: 1px solid rgba(212, 175, 55, 0.45);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.28);
}
.invoice-sheet .inv-brand {
  font-family: var(--serif, Georgia, serif);
  font-size: 1.55rem;
  font-weight: 800;
  color: #8a6a14;
}
.invoice-sheet .inv-brand span { color: #b98f22; }
.invoice-sheet .inv-meta {
  font-size: 0.82rem;
  line-height: 1.75;
  color: #6b5f45;
  margin-top: 6px;
}
.invoice-sheet .inv-addr {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #d9cda8;
}
.invoice-sheet table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}
.invoice-sheet th,
.invoice-sheet td {
  border: 1px solid #e2d7b5;
  padding: 8px 11px;
  font-size: 0.82rem;
  text-align: left;
}
.invoice-sheet th {
  background: #f1e7c8;
  color: #6b5210;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.invoice-sheet .inv-totals {
  margin-top: 14px;
  margin-left: auto;
  max-width: 300px;
}
.invoice-sheet .inv-totals div {
  display: flex;
  justify-content: space-between;
  padding: 5px 2px;
  font-size: 0.88rem;
  color: #4c4128;
}
.invoice-sheet .inv-totals .inv-grand {
  border-top: 2px solid #c9b063;
  margin-top: 6px;
  padding-top: 9px;
  font-size: 1.06rem;
  color: #8a6a14;
}

/* ---------- WhatsApp hand-off banner ---------- */
.wa-handoff {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  max-width: 620px;
  margin: 18px auto 6px;
  padding: 15px 22px;
  border-radius: 16px;
  border: 1px solid rgba(37, 211, 102, 0.45);
  background: rgba(37, 211, 102, 0.1);
  animation: fadeUp 0.5s both;
}
.wa-handoff.show { display: flex; }
.wa-handoff .wa-count {
  font-size: 0.98rem;
  color: #b9f3cd;
  font-weight: 600;
}

@media print {
  .invoice-mount { margin: 0; }
}

/* out-of-stock warning (checkout summary) */
.oos-warn {
  background: rgba(224, 80, 63, 0.1);
  border: 1px solid rgba(224, 80, 63, 0.4);
  color: #e0705f;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0 14px;
  font-size: 0.88rem;
  line-height: 1.6;
}
.oos-warn a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

/* store LIVE/PAUSED banner (Admin → Settings → Store Status) */
.store-banner {
  position: sticky;
  top: 0;
  z-index: 999;
  background: linear-gradient(90deg, #8a2f22, #b3452f);
  color: #ffe9e2;
  text-align: center;
  padding: 13px 18px;
  font-size: 0.93rem;
  line-height: 1.65;
  box-shadow: 0 8px 26px rgba(138, 47, 34, 0.35);
}
.store-banner b { color: #fff; }
.store-banner .sb-ico { margin-right: 6px; }
.store-banner .sb-note { display: block; font-size: 0.78rem; opacity: 0.85; }
.store-paused .hero-cta, .store-paused .btn-buy { pointer-events: none; opacity: 0.55; }


/* ===== PREMIUM basket + checkout (v2) ===== */
.cart-line { display:grid; grid-template-columns:64px 1fr auto auto; gap:14px; align-items:center; background:#fff; border:1px solid #efe5cf; border-radius:18px; padding:14px 16px; margin-bottom:12px; box-shadow:0 6px 22px rgba(80,58,28,.05); transition:transform .25s, box-shadow .25s; }
.cart-line:hover { transform:translateY(-2px); box-shadow:0 14px 34px rgba(80,58,28,.1); }
.cart-thumb { width:64px; height:64px; border-radius:14px; overflow:hidden; background:#f4ead2; flex-shrink:0; }
.cart-thumb-img { width:100%; height:100%; object-fit:cover; display:block; }
.sum-item .sum-nm { display:flex; align-items:center; gap:10px; }
.sum-item .cart-thumb-img { width:38px; height:38px; border-radius:9px; }
.free-ship-bar { background:linear-gradient(120deg,#f8f1dd,#fffdf7); border:1px solid #ead9ad; border-radius:16px; padding:12px 16px; margin-bottom:14px; }
.fsb-top { display:flex; justify-content:space-between; font-size:.86rem; color:#6b5c47; margin-bottom:8px; }
.fsb-pct { font-weight:700; color:#b98f3e; }
.fsb-track { height:8px; border-radius:8px; background:#ead9ad; overflow:hidden; }
.fsb-fill { height:100%; border-radius:8px; background:linear-gradient(90deg,#b98f3e,#e3c888); transition:width .5s ease; }
.trust-chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:14px; }
.trust-chips span { font-size:.72rem; background:#f4ead2; color:#6b5c47; border-radius:999px; padding:5px 11px; border:1px solid #ead9ad; }
.pay-options .pay-option { position:relative; border-radius:18px; padding:16px 18px; border:2px solid #ead9ad; background:#fffdf7; cursor:pointer; transition:border-color .25s, box-shadow .25s, transform .2s; }
.pay-options .pay-option:hover { border-color:#b98f3e; transform:translateY(-2px); }
.pay-options .pay-option.selected { border-color:#b98f3e; background:linear-gradient(120deg,#fdf7e8,#fffdf7); box-shadow:0 14px 34px rgba(185,143,62,.16); }
.pay-tag { display:inline-block; font-size:.68rem; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:#24491c; background:linear-gradient(90deg,#e3c888,#ead9ad); border-radius:999px; padding:3px 10px; margin-left:8px; vertical-align:middle; }
.pay-gateway-note { margin-top:10px; font-size:.8rem; line-height:1.6; color:#8a6d3b; background:#fdf3dd; border:1px dashed #d9b86a; border-radius:12px; padding:10px 12px; }
.success-confirm { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; margin:18px auto 6px; max-width:720px; }
.sc-item { display:flex; align-items:center; gap:8px; background:#fffdf7; border:1px solid #ead9ad; border-radius:14px; padding:10px 14px; font-size:.83rem; color:#6b5c47; }
.sc-ic { font-size:1rem; }
.cart-empty .shroom { display:inline-block; font-size:64px; animation:mvFloatY 5s ease-in-out infinite alternate; }


/* ===== PREMIUM delivery form ===== */
.checkout-form-card {
  background: linear-gradient(165deg, #fffdf7 0%, #fdf8ec 100%);
  border: 1px solid #ead9ad;
  border-radius: 26px;
  padding: 34px 32px;
  box-shadow: 0 26px 64px rgba(80, 58, 28, .10), 0 4px 14px rgba(80, 58, 28, .05);
}
.form-head { display: flex; align-items: center; gap: 15px; margin: 0 0 26px; }
.fh-badge {
  width: 56px; height: 56px; border-radius: 18px; flex-shrink: 0;
  background: linear-gradient(135deg, #2e5b23, #24491c);
  display: flex; align-items: center; justify-content: center; font-size: 25px;
  box-shadow: 0 12px 26px rgba(36, 73, 28, .30);
  animation: mvFloaty 7s ease-in-out infinite alternate;
}
.fh-txt h3 { margin: 0; font-size: 1.42rem; letter-spacing: .2px; }
.fh-note { margin: 3px 0 0; color: #8a7a5c; font-size: .86rem; line-height: 1.55; }
.fh-pill {
  margin-left: auto; flex-shrink: 0;
  font-size: .70rem; font-weight: 800; letter-spacing: .10em; text-transform: uppercase;
  color: #24491c; background: linear-gradient(120deg, #e3c888, #ead9ad);
  border-radius: 999px; padding: 7px 14px;
}
.form-group { margin-bottom: 18px; }
.form-group > label {
  display: block; font-size: .72rem; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase; color: #8a6a2a; margin-bottom: 8px;
}
.form-group > label .req { color: #c0392b; font-size: .95rem; margin-left: 2px; }
.form-group > label .opt { color: #b3a484; font-weight: 600; letter-spacing: .06em; text-transform: none; font-size: .78rem; }
.fg-in { position: relative; }
.fg-ic {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  font-size: 17px; opacity: .9; pointer-events: none; z-index: 2;
}
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 16px 14px 46px;
  border-radius: 15px; border: 1.6px solid #e4d6b6;
  background: #fff; font-size: .96rem; font-family: inherit; color: #2b2118;
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.form-group textarea { resize: vertical; line-height: 1.65; }
.form-group input::placeholder, .form-group textarea::placeholder { color: #b9ab8d; }
.form-group input:hover, .form-group textarea:hover { border-color: #d3bc8a; }
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: #b98f3e; background: #fffdf7;
  box-shadow: 0 0 0 4px rgba(185, 143, 62, .15), 0 8px 22px rgba(80, 58, 28, .07);
}
.form-group input.input-bad, .form-group textarea.input-bad {
  border-color: #c0392b; background: #fdf3f1;
  box-shadow: 0 0 0 4px rgba(192, 57, 43, .10);
}
.field-err { font-size: .78rem; color: #c0392b; margin-top: 6px; min-height: 0; }
.field-err.show { display: block; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pay-head { margin-top: 32px !important; display: flex; align-items: center; gap: 9px; font-size: 1.18rem; }
.pay-head::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, #b98f3e, transparent); margin-right: 2px; }
@media (max-width: 620px) {
  .checkout-form-card { padding: 24px 18px; border-radius: 20px; }
  .form-row-2 { grid-template-columns: 1fr; }
  .fh-pill { display: none; }
  .fh-badge { width: 48px; height: 48px; font-size: 21px; border-radius: 15px; }
  .fh-txt h3 { font-size: 1.22rem; }
}
