/* ================================================================
   SHOPIZ PREMIUM — WooCommerce Cart + Checkout + Thank You
   Version: 5.0.0
   ================================================================ */

/* ── TOKENS (same as theme) ── */
:root {
  --sz-orange:       #f57224;
  --sz-orange-dark:  #d4611a;
  --sz-orange-light: #fff3eb;
  --sz-green:        #10b981;
  --sz-green-light:  #ecfdf5;
  --sz-blue:         #3b82f6;
  --sz-blue-light:   #eff6ff;
  --sz-red:          #ef4444;
  --sz-red-light:    #fef2f2;
  --sz-dark:         #0f172a;
  --sz-text:         #1e293b;
  --sz-muted:        #64748b;
  --sz-border:       #e2e8f0;
  --sz-bg:           #f4f6fa;
  --sz-white:        #ffffff;
  --sz-radius:       14px;
  --sz-radius-sm:    10px;
  --sz-shadow:       0 4px 16px rgba(15,23,42,.07);
  --sz-shadow-lg:    0 12px 40px rgba(15,23,42,.12);
  --sz-trans:        .16s ease;
}

/* ── SHARED LAYOUT ── */
.sz-cart-page,
.sz-checkout-page,
.sz-thankyou-page {
  background: var(--sz-bg);
  padding: 28px 0 60px;
  min-height: 60vh;
}

/* Breadcrumb */
.sz-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--sz-muted);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.sz-breadcrumb a {
  color: var(--sz-muted);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--sz-trans);
}
.sz-breadcrumb a:hover { color: var(--sz-orange); }
.sz-breadcrumb span { color: var(--sz-border); }

/* Step Indicator */
.sz-checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 32px;
}
.sz-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.sz-step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 900;
  background: var(--sz-border);
  color: var(--sz-muted);
  border: 2px solid var(--sz-border);
  transition: all var(--sz-trans);
}
.sz-step-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--sz-muted);
}
.sz-step-active .sz-step-num {
  background: var(--sz-orange);
  color: #fff;
  border-color: var(--sz-orange);
  box-shadow: 0 0 0 4px rgba(245,114,36,.2);
}
.sz-step-active .sz-step-label { color: var(--sz-orange); }
.sz-step-done .sz-step-num {
  background: var(--sz-green);
  color: #fff;
  border-color: var(--sz-green);
}
.sz-step-done .sz-step-label { color: var(--sz-green); }
.sz-step-line {
  width: 80px; height: 2px;
  background: var(--sz-border);
  margin: 0 8px;
  margin-bottom: 22px;
  flex-shrink: 0;
}
.sz-step-line-done { background: var(--sz-green); }

/* ================================================================
   CART PAGE
   ================================================================ */
.sz-cart-wrap { max-width: 1200px; }

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

/* Cart Items Panel */
.sz-cart-items {
  background: var(--sz-white);
  border: 1px solid var(--sz-border);
  border-radius: var(--sz-radius);
  overflow: hidden;
  box-shadow: var(--sz-shadow);
}
.sz-cart-head {
  padding: 18px 24px;
  border-bottom: 1px solid var(--sz-border);
  background: var(--sz-bg);
}
.sz-cart-head h2 {
  font-size: 18px; font-weight: 900;
  color: var(--sz-dark); margin: 0;
  letter-spacing: -.02em;
}
.sz-cart-count { font-size: 14px; color: var(--sz-muted); font-weight: 600; }

/* Cart Item Row */
.sz-cart-item {
  display: grid;
  grid-template-columns: 100px 1fr 100px 120px 100px 44px;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--sz-border);
  transition: background var(--sz-trans);
}
.sz-cart-item:last-child { border-bottom: 0; }
.sz-cart-item:hover { background: var(--sz-bg); }

.sz-ci-img-wrap {
  width: 90px; height: 90px;
  border-radius: var(--sz-radius-sm);
  overflow: hidden;
  background: var(--sz-bg);
  border: 1px solid var(--sz-border);
  flex-shrink: 0;
}
.sz-ci-img-wrap img,
.sz-ci-img-wrap .sz-card-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  padding: 6px;
}
.sz-ci-name {
  font-size: 14px; font-weight: 700;
  color: var(--sz-text); margin: 0 0 6px;
  line-height: 1.4;
}
.sz-ci-name a { color: inherit; text-decoration: none; }
.sz-ci-name a:hover { color: var(--sz-orange); }
.sz-ci-price { font-size: 15px; font-weight: 800; color: var(--sz-text); }
.sz-ci-price-mobile { display: none; font-size: 14px; font-weight: 800; color: var(--sz-orange); margin: 4px 0; }
.sz-ci-cod-tag {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px; font-weight: 700;
  color: var(--sz-green);
  background: var(--sz-green-light);
  padding: 3px 8px; border-radius: 999px;
  border: 1px solid #bbf7d0;
  margin-top: 6px;
}
.sz-ci-subtotal {
  font-size: 16px; font-weight: 900;
  color: var(--sz-orange); text-align: right;
}

/* Quantity input WC override */
.sz-cart-item .quantity .qty,
.sz-cart-item input[type=number] {
  width: 70px !important;
  height: 38px !important;
  border: 1.5px solid var(--sz-border) !important;
  border-radius: var(--sz-radius-sm) !important;
  text-align: center !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  padding: 0 8px !important;
  background: var(--sz-white) !important;
  color: var(--sz-text) !important;
  outline: 0 !important;
}
.sz-cart-item input[type=number]:focus {
  border-color: var(--sz-orange) !important;
  box-shadow: 0 0 0 3px rgba(245,114,36,.12) !important;
}

/* Remove button */
.sz-ci-remove-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  color: var(--sz-muted);
  background: var(--sz-bg);
  border: 1px solid var(--sz-border);
  text-decoration: none;
  transition: all var(--sz-trans);
}
.sz-ci-remove-btn:hover { background: var(--sz-red-light); color: var(--sz-red); border-color: var(--sz-red); }

/* Cart Actions */
.sz-cart-actions {
  display: flex;
  justify-content: flex-end;
  padding: 16px 24px;
  border-top: 1px solid var(--sz-border);
  background: var(--sz-bg);
}
.sz-btn-update {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 20px; border-radius: 999px;
  background: var(--sz-white); color: var(--sz-text);
  border: 1.5px solid var(--sz-border);
  font-size: 13.5px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: all var(--sz-trans);
}
.sz-btn-update:hover { border-color: var(--sz-orange); color: var(--sz-orange); }
.sz-btn-update:disabled { opacity: .5; cursor: not-allowed; }

/* Cart Summary */
.sz-cart-summary { position: sticky; top: 24px; }
.sz-cart-summary-card {
  background: var(--sz-white);
  border: 1px solid var(--sz-border);
  border-radius: var(--sz-radius);
  padding: 24px;
  box-shadow: var(--sz-shadow);
}
.sz-summary-title {
  font-size: 18px; font-weight: 900;
  color: var(--sz-dark); margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--sz-border);
  letter-spacing: -.02em;
}
.sz-summary-rows { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.sz-summary-row {
  display: flex; justify-content: space-between;
  font-size: 14px; color: var(--sz-muted); font-weight: 600;
}
.sz-summary-row span:last-child { color: var(--sz-text); font-weight: 700; }
.sz-summary-discount { color: var(--sz-green) !important; }
.sz-summary-discount span { color: var(--sz-green) !important; }
.sz-discount-amt { color: var(--sz-green) !important; }
.sz-remove-coupon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--sz-border); color: var(--sz-muted);
  font-size: 10px; text-decoration: none; margin-left: 4px;
  transition: all var(--sz-trans);
}
.sz-remove-coupon:hover { background: var(--sz-red); color: #fff; }

.sz-summary-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0;
  border-top: 2px solid var(--sz-border);
  font-size: 18px; font-weight: 900; color: var(--sz-dark);
  margin-bottom: 18px;
}
.sz-summary-total span:last-child { color: var(--sz-orange); font-size: 22px; }

.sz-btn-checkout {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 15px;
  background: var(--sz-orange); color: #fff !important;
  border: 0; border-radius: 999px;
  font-size: 16px; font-weight: 900;
  text-decoration: none !important;
  cursor: pointer; transition: background var(--sz-trans);
  margin-bottom: 16px;
}
.sz-btn-checkout:hover { background: var(--sz-orange-dark); }

/* Coupon */
.sz-coupon-wrap { margin-bottom: 20px; }
.sz-coupon-form {
  display: flex; gap: 0;
  border: 1.5px solid var(--sz-border);
  border-radius: 999px; overflow: hidden;
  transition: border-color var(--sz-trans);
}
.sz-coupon-form:focus-within { border-color: var(--sz-orange); }
.sz-coupon-input {
  flex: 1; border: 0; outline: 0;
  padding: 11px 16px; font: inherit;
  font-size: 13.5px; color: var(--sz-text);
  min-width: 0; background: transparent;
}
.sz-coupon-btn {
  border: 0; background: var(--sz-orange); color: #fff;
  padding: 11px 18px; font-weight: 800; font-size: 13.5px;
  cursor: pointer; flex-shrink: 0;
  transition: background var(--sz-trans);
}
.sz-coupon-btn:hover { background: var(--sz-orange-dark); }

/* Trust Badges */
.sz-trust-badges {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px;
  background: var(--sz-bg);
  border-radius: var(--sz-radius-sm);
  border: 1px solid var(--sz-border);
}
.sz-trust-badge {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--sz-muted);
}
.sz-trust-badge svg { color: var(--sz-green); flex-shrink: 0; }

.sz-continue-shopping {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 14px;
  font-size: 13.5px; font-weight: 700;
  color: var(--sz-orange); text-decoration: none;
  transition: color var(--sz-trans);
}
.sz-continue-shopping:hover { color: var(--sz-orange-dark); }

/* ================================================================
   CHECKOUT PAGE
   ================================================================ */
.sz-checkout-wrap { max-width: 1200px; }

.sz-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 24px;
  align-items: start;
}

/* Checkout Cards */
.sz-checkout-card {
  background: var(--sz-white);
  border: 1px solid var(--sz-border);
  border-radius: var(--sz-radius);
  overflow: hidden;
  box-shadow: var(--sz-shadow);
  margin-bottom: 20px;
}
.sz-checkout-card-head {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--sz-border);
  background: var(--sz-bg);
}
.sz-checkout-card-icon { font-size: 22px; }
.sz-checkout-card-head h2 {
  font-size: 17px; font-weight: 900;
  color: var(--sz-dark); margin: 0;
  letter-spacing: -.02em;
}
.sz-optional { font-size: 13px; color: var(--sz-muted); font-weight: 500; }
.sz-checkout-card-body { padding: 24px; }

/* Login notice */
.sz-checkout-login-notice {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px; border-radius: var(--sz-radius-sm);
  background: var(--sz-blue-light); color: var(--sz-blue);
  font-size: 13.5px; font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid #bfdbfe;
}
.sz-checkout-login-notice a { color: var(--sz-orange); font-weight: 800; }

/* Form Fields */
.sz-field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-bottom: 16px;
}
.sz-field-group { margin-bottom: 16px; }
.sz-field-row .sz-field-group { margin-bottom: 0; }
.sz-field-group label {
  display: block;
  font-size: 12px; font-weight: 800;
  color: var(--sz-muted); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: .05em;
}
.sz-required { color: var(--sz-orange); }
.sz-input {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--sz-border);
  border-radius: var(--sz-radius-sm);
  font: inherit; font-size: 14px; color: var(--sz-text);
  background: var(--sz-white); outline: 0;
  transition: border-color var(--sz-trans), box-shadow var(--sz-trans);
}
.sz-input:focus {
  border-color: var(--sz-orange);
  box-shadow: 0 0 0 3px rgba(245,114,36,.12);
}
.sz-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px !important; }
.sz-textarea { resize: vertical; min-height: 80px; }
.sz-field-error { font-size: 12px; color: var(--sz-red); font-weight: 600; margin-top: 4px; min-height: 18px; }

/* Create account checkbox */
.sz-create-account-wrap { margin-top: 8px; }
.sz-checkbox-label {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--sz-text);
  cursor: pointer; user-select: none;
}
.sz-checkbox-label input[type=checkbox] { display: none; }
.sz-checkbox-box {
  width: 20px; height: 20px; border-radius: 6px;
  border: 2px solid var(--sz-border); background: var(--sz-white);
  flex-shrink: 0; transition: all var(--sz-trans);
  display: flex; align-items: center; justify-content: center;
}
.sz-checkbox-label input:checked + .sz-checkbox-box {
  background: var(--sz-orange); border-color: var(--sz-orange);
}
.sz-checkbox-label input:checked + .sz-checkbox-box::after {
  content: '✓'; color: #fff; font-size: 12px; font-weight: 900;
}

/* Payment method override */
.sz-payment-card .wc_payment_methods { list-style: none; margin: 0; padding: 0; }
.sz-payment-card .wc_payment_method {
  border: 2px solid var(--sz-border);
  border-radius: var(--sz-radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color var(--sz-trans);
}
.sz-payment-card .wc_payment_method:has(input:checked) { border-color: var(--sz-orange); background: var(--sz-orange-light); }
.sz-payment-card .wc_payment_method label {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; cursor: pointer;
  font-weight: 700; color: var(--sz-text);
}
.sz-payment-card .wc_payment_method input[type=radio] { accent-color: var(--sz-orange); width: 18px; height: 18px; flex-shrink: 0; }
.sz-payment-card .payment_box {
  padding: 12px 16px; background: var(--sz-bg);
  border-top: 1px solid var(--sz-border);
  font-size: 13.5px; color: var(--sz-muted);
}

/* COD highlighted */
.sz-payment-card li#payment_method_cod { border-color: var(--sz-green) !important; }
.sz-payment-card li#payment_method_cod label::after { content: ' — Recommended'; font-size: 11px; color: var(--sz-green); font-weight: 800; }

/* Order Summary (right panel) */
.sz-order-summary-card {
  background: var(--sz-white);
  border: 1px solid var(--sz-border);
  border-radius: var(--sz-radius);
  overflow: hidden;
  box-shadow: var(--sz-shadow);
  position: sticky; top: 24px;
}
.sz-order-summary-card .sz-summary-title {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px;
  margin: 0;
  border-bottom: 1px solid var(--sz-border);
  background: var(--sz-bg);
  border-radius: 0;
}
.sz-item-count {
  font-size: 12px; font-weight: 700;
  background: var(--sz-orange); color: #fff;
  padding: 3px 9px; border-radius: 999px;
}

/* Order Items in summary */
.sz-order-items { padding: 12px 0; border-bottom: 1px solid var(--sz-border); }
.sz-order-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center; gap: 12px;
  padding: 10px 22px;
}
.sz-oi-img-wrap {
  position: relative; width: 48px; height: 48px;
  border-radius: 8px; overflow: hidden;
  background: var(--sz-bg); border: 1px solid var(--sz-border);
  flex-shrink: 0;
}
.sz-oi-img, .sz-oi-img-wrap img {
  width: 100% !important; height: 100% !important;
  object-fit: contain !important; padding: 4px;
}
.sz-oi-qty {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--sz-orange); color: #fff;
  font-size: 10px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--sz-white);
}
.sz-oi-name {
  font-size: 13px; font-weight: 700; color: var(--sz-text);
  display: block; line-height: 1.4;
}
.sz-oi-price { font-size: 14px; font-weight: 900; color: var(--sz-text); white-space: nowrap; }

.sz-order-summary-card .sz-summary-rows { padding: 14px 22px 0; }
.sz-order-summary-card .sz-summary-total { padding: 14px 22px; margin: 0; border-top: 2px solid var(--sz-border); }

/* COD Banner */
.sz-cod-banner {
  display: flex; align-items: center; gap: 14px;
  margin: 0 22px 16px;
  padding: 14px;
  background: var(--sz-green-light);
  border: 1px solid #bbf7d0;
  border-radius: var(--sz-radius-sm);
}
.sz-cod-icon { font-size: 28px; flex-shrink: 0; }
.sz-cod-banner strong { display: block; font-size: 14px; font-weight: 800; color: var(--sz-dark); }
.sz-cod-banner span { font-size: 12.5px; color: var(--sz-muted); }

/* Place Order button */
.sz-place-order {
  display: flex; align-items: center; justify-content: center;
  width: calc(100% - 44px); margin: 0 22px 14px;
  padding: 16px; border-radius: 999px;
  background: var(--sz-orange); color: #fff !important;
  font-size: 17px; font-weight: 900;
  border: 0; cursor: pointer;
  transition: background var(--sz-trans), transform var(--sz-trans);
  text-decoration: none !important;
}
.sz-place-order:hover { background: var(--sz-orange-dark); transform: translateY(-1px); }
.sz-place-order:active { transform: translateY(0); }

.sz-checkout-trust {
  display: flex; justify-content: center; gap: 16px;
  padding: 12px 22px 18px;
  font-size: 12px; font-weight: 700; color: var(--sz-muted);
}

/* ================================================================
   THANK YOU PAGE
   ================================================================ */
.sz-thankyou-wrap { max-width: 960px; }

.sz-ty-banner {
  display: flex; align-items: center; gap: 20px;
  padding: 28px 32px;
  border-radius: var(--sz-radius);
  margin-bottom: 24px;
  box-shadow: var(--sz-shadow);
}
.sz-ty-success { background: linear-gradient(135deg, #064e3b, #065f46); color: #fff; }
.sz-ty-failed  { background: linear-gradient(135deg, #7f1d1d, #991b1b); color: #fff; }
.sz-ty-icon { font-size: 52px; flex-shrink: 0; }
.sz-ty-content h1 { font-size: 26px; font-weight: 900; margin: 0 0 8px; color: #fff; letter-spacing: -.03em; }
.sz-ty-content p  { margin: 0 0 10px; color: rgba(255,255,255,.85); font-size: 15px; }
.sz-ty-order-num  { font-size: 15px; font-weight: 700; color: #6ee7b7; }

.sz-ty-cod-info {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 24px;
  background: var(--sz-green-light);
  border: 1.5px solid #bbf7d0;
  border-radius: var(--sz-radius);
  margin-bottom: 24px;
}
.sz-ty-cod-icon { font-size: 36px; flex-shrink: 0; }
.sz-ty-cod-info strong { display: block; font-size: 15px; font-weight: 800; color: var(--sz-dark); margin-bottom: 4px; }
.sz-ty-cod-info p { margin: 0; font-size: 13.5px; color: var(--sz-muted); }

.sz-ty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.sz-ty-card {
  background: var(--sz-white);
  border: 1px solid var(--sz-border);
  border-radius: var(--sz-radius);
  overflow: hidden;
  box-shadow: var(--sz-shadow);
  margin-bottom: 16px;
}
.sz-ty-card h3 {
  font-size: 15px; font-weight: 800; color: var(--sz-dark);
  padding: 16px 20px; margin: 0;
  border-bottom: 1px solid var(--sz-border);
  background: var(--sz-bg);
}
.sz-ty-rows { padding: 8px 0; }
.sz-ty-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 20px;
  border-bottom: 1px solid var(--sz-border);
  font-size: 13.5px;
}
.sz-ty-row:last-child { border-bottom: 0; }
.sz-ty-row span:first-child { color: var(--sz-muted); font-weight: 600; }
.sz-ty-row strong { font-weight: 800; color: var(--sz-dark); }

.sz-ty-address {
  font-style: normal; font-size: 14px; line-height: 1.8;
  color: var(--sz-text); padding: 16px 20px;
}

/* Status pills */
.sz-status-pill {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 800;
}
.sz-status-pill.pending    { background: #fffbeb; color: #b45309; }
.sz-status-pill.processing { background: var(--sz-blue-light); color: var(--sz-blue); }
.sz-status-pill.on-hold    { background: #fffbeb; color: #92400e; }
.sz-status-pill.completed  { background: var(--sz-green-light); color: var(--sz-green); }
.sz-status-pill.cancelled  { background: var(--sz-red-light); color: var(--sz-red); }

/* Order Items in TY */
.sz-ty-items { padding: 8px 0; }
.sz-ty-item {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center; gap: 12px;
  padding: 10px 20px;
  border-bottom: 1px solid var(--sz-border);
}
.sz-ty-item:last-child { border-bottom: 0; }
.sz-ty-item-img-wrap {
  position: relative; width: 48px; height: 48px;
  border-radius: 8px; overflow: hidden;
  background: var(--sz-bg); border: 1px solid var(--sz-border);
  flex-shrink: 0;
}
.sz-ty-item-img { width: 100% !important; height: 100% !important; object-fit: contain !important; padding: 4px; }
.sz-ty-item-img-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.sz-ty-item-qty {
  position: absolute; top: -6px; right: -6px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--sz-orange); color: #fff;
  font-size: 10px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--sz-white);
}
.sz-ty-item-name { font-size: 13px; font-weight: 700; color: var(--sz-text); }
.sz-ty-item-total { font-size: 14px; font-weight: 900; color: var(--sz-text); white-space: nowrap; }

/* TY Totals */
.sz-ty-totals { padding: 8px 0; border-top: 1px solid var(--sz-border); }
.sz-ty-total-row {
  display: flex; justify-content: space-between;
  padding: 9px 20px; font-size: 13.5px;
  color: var(--sz-muted); font-weight: 600;
}
.sz-ty-total-row span:last-child { color: var(--sz-text); font-weight: 700; }
.sz-ty-discount span { color: var(--sz-green) !important; }
.sz-ty-grand-total {
  font-size: 17px !important; font-weight: 900 !important;
  border-top: 2px solid var(--sz-border); margin-top: 6px;
  padding-top: 14px !important;
}
.sz-ty-grand-total span { color: var(--sz-orange) !important; }

/* Next Steps */
.sz-ty-next-steps {
  background: var(--sz-white);
  border: 1px solid var(--sz-border);
  border-radius: var(--sz-radius);
  padding: 24px;
  box-shadow: var(--sz-shadow);
  margin-bottom: 24px;
}
.sz-ty-next-steps h3 {
  font-size: 17px; font-weight: 900; color: var(--sz-dark);
  margin: 0 0 20px; letter-spacing: -.02em;
}
.sz-ty-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sz-ty-next-step {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 8px;
  padding: 20px 12px;
  border: 1px solid var(--sz-border);
  border-radius: var(--sz-radius-sm);
  background: var(--sz-bg);
  transition: border-color var(--sz-trans);
}
.sz-ty-next-step:hover { border-color: var(--sz-orange); }
.sz-ty-next-icon { font-size: 32px; }
.sz-ty-next-step strong { font-size: 13.5px; font-weight: 800; color: var(--sz-dark); }
.sz-ty-next-step p { font-size: 12.5px; color: var(--sz-muted); margin: 0; line-height: 1.5; }

/* TY Actions */
.sz-ty-actions {
  display: flex; justify-content: center; gap: 14px;
  flex-wrap: wrap;
}

/* ── Buttons ── */
.sz-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 24px; border-radius: 999px;
  font-size: 14px; font-weight: 800;
  text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: all var(--sz-trans);
}
.sz-btn-orange { background: var(--sz-orange); color: #fff; border-color: var(--sz-orange); }
.sz-btn-orange:hover { background: var(--sz-orange-dark); border-color: var(--sz-orange-dark); color: #fff; }
.sz-btn-outline { background: transparent; color: var(--sz-orange); border-color: var(--sz-orange); }
.sz-btn-outline:hover { background: var(--sz-orange); color: #fff; }

/* Empty cart */
.sz-cart-empty {
  text-align: center; padding: 80px 20px;
  background: var(--sz-white); border-radius: var(--sz-radius);
  border: 1px solid var(--sz-border); box-shadow: var(--sz-shadow);
}
.sz-empty-icon { font-size: 64px; margin-bottom: 16px; }
.sz-cart-empty h2 { font-size: 26px; font-weight: 900; color: var(--sz-dark); margin: 0 0 10px; }
.sz-cart-empty p { color: var(--sz-muted); margin: 0 0 24px; }

/* WooCommerce message overrides */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: var(--sz-radius-sm) !important;
  border-left: 4px solid var(--sz-orange) !important;
  background: var(--sz-orange-light) !important;
  color: var(--sz-text) !important;
  padding: 14px 18px !important;
  margin-bottom: 20px !important;
  font-weight: 600 !important;
  list-style: none !important;
}
.woocommerce-error { border-left-color: var(--sz-red) !important; background: var(--sz-red-light) !important; }
.woocommerce-info  { border-left-color: var(--sz-blue) !important; background: var(--sz-blue-light) !important; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 960px) {
  .sz-cart-grid        { grid-template-columns: 1fr; }
  .sz-checkout-grid    { grid-template-columns: 1fr; }
  .sz-ty-grid          { grid-template-columns: 1fr; }
  .sz-ty-steps-grid    { grid-template-columns: repeat(2, 1fr); }
  .sz-order-summary-card { position: static; }
  .sz-cart-summary     { position: static; }
}

@media (max-width: 640px) {
  .sz-cart-item {
    grid-template-columns: 70px 1fr 44px;
    grid-template-areas:
      "img  details  remove"
      "img  qty      subtotal";
    gap: 10px;
  }
  .sz-ci-img-wrap    { grid-area: img; width: 70px; height: 70px; }
  .sz-ci-details     { grid-area: details; }
  .sz-ci-remove      { grid-area: remove; }
  .sz-ci-qty         { grid-area: qty; }
  .sz-ci-subtotal    { grid-area: subtotal; text-align: right; }
  .sz-ci-price-desk  { display: none; }
  .sz-ci-price-mobile{ display: block; }

  .sz-field-row      { grid-template-columns: 1fr; }
  .sz-ty-steps-grid  { grid-template-columns: 1fr 1fr; }
  .sz-checkout-steps { gap: 0; }
  .sz-step-line      { width: 40px; }
  .sz-ty-actions     { flex-direction: column; align-items: center; }
  .sz-ty-banner      { flex-direction: column; text-align: center; padding: 24px 20px; }
}
