:root {
  --gold: #c1a14a;
  --gold-dark: #a18238;
  --bg: #f6f6f6;
  --shadow: 0 6px 15px rgba(0,0,0,0.06);
  --radius: 12px;
  --font: "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
  font-family: var(--font);
}

body {
  margin: 0;
  background: var(--bg);
  color: #333;
}

/* ================= HEADER ================= */
.site-header {
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,.06);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner-pro {
  max-width: 1100px;
  margin: auto;
  padding: 12px 16px;
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
}

.back-btn {
  border: none;
  background: #f5f5f5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: .2s;
}
.back-btn:hover { background: #eee; }

.brand {
  text-align: center;
}
.brand .logo {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gold);
}
.brand .tagline {
  font-size: .75rem;
  color: #777;
}

/* ================= LAYOUT ================= */
.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px 15px 80px;
}

.checkout-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}
@media(max-width:900px){
  .checkout-section { grid-template-columns: 1fr; }
}

/* ================= TRUST & STEP ================= */
.trust-bar {
  background: #fffbea;
  border: 1px solid #e8d99a;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .9rem;
  margin: 10px 0 20px;
  color: #7a5c00;
}

.step-indicator {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.step {
  flex: 1;
  padding: 10px;
  text-align: center;
  border-radius: 8px;
  background: #eee;
  font-weight: 600;
  color: #777;
}
.step.active {
  background: var(--gold);
  color: #fff;
}

/* ================= CARD ================= */
.checkout-left,
.checkout-right {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}

/* ================= CART ITEM ================= */
.checkout-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 10px;
  background: #fafafa;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,.04);
}

.item-thumb img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
}

.item-info h4 {
  margin: 0;
  font-size: .95rem;
}
.item-info p {
  margin: 4px 0;
  color: var(--gold);
  font-weight: 600;
}

.item-actions {
  text-align: right;
}
.item-actions .remove-btn {
  background: none;
  border: none;
  color: #e74c3c;
  font-size: .85rem;
  cursor: pointer;
}

/* ================= TOTAL ================= */
.total {
  text-align: right;
  margin-top: 10px;
  font-weight: 700;
  color: var(--gold-dark);
}

/* ================= FORM ================= */
.form-group { margin-bottom: 15px; }

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

input, textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

textarea { resize: vertical; }

.address-opt label,
.pay-methods label {
  display: block;
  margin: 5px 0;
}

.saved-box {
  background: #fafafa;
  border: 1px dashed #ccc;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 15px;
}

/* ================= PAYMENT BOX ================= */
.transfer-info {
  background: #fffbea;
  border: 1px solid #e8d99a;
  border-left: 5px solid var(--gold);
  padding: 15px;
  border-radius: 8px;
  font-size: .95rem;
}

/* ================= BUTTON ================= */
.btn {
  background: linear-gradient(135deg,#c1a14a,#a18238);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 4px 12px rgba(193,161,74,.35);
  transition: all .2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(193,161,74,.45);
}
.btn:active {
  transform: translateY(0);
}
.btn:disabled {
  background: #ccc;
  box-shadow: none;
  cursor: not-allowed;
}

/* ================= NOTE ================= */
.manual-note {
  font-size: .85rem;
  color: #777;
  margin-top: 10px;
}

/* ================= FOOTER ================= */
.site-footer {
  text-align: center;
  background: #fff;
  padding: 20px;
  font-size: .9rem;
  color: #777;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}
