
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --primary:       #EE4D2D;
      --primary-dark:  #D73211;
      --primary-light: #FFF0EE;
      --accent:        #EE4D2D;
      --accent-dark:   #D73211;
      --text:          #1e293b;
      --text-light:    #64748b;
      --border:        #e2e8f0;
      --bg:            #f1f5f9;
      --white:         #ffffff;
      --success:       #16a34a;
      --error:         #dc2626;
      --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
      --shadow:    0 4px 16px rgba(0,0,0,.10);
      --shadow-lg: 0 10px 40px rgba(0,0,0,.14);
      --radius:    12px;
      --radius-sm: 8px;
    }
    html { scroll-behavior: smooth; }
    body { font-family: 'Be Vietnam Pro', sans-serif; color: var(--text); background: var(--bg); font-size: 15px; line-height: 1.6; min-height: 100vh; }
    a { text-decoration: none; color: inherit; }
    ul { list-style: none; }
    button { cursor: pointer; font-family: inherit; border: none; }
    input, select, textarea { font-family: inherit; }

    /* ====== HEADER ====== */
    .header {
      background: var(--white);
      box-shadow: var(--shadow-sm);
      position: sticky;
      top: 0;
      z-index: 100;
    }
    .header-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 24px;
      height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }
    .logo { display: flex; align-items: center; gap: 10px; }
    .logo-icon {
      width: 40px; height: 40px;
      background: linear-gradient(135deg, var(--primary), #f5840c);
      border-radius: 9px;
      display: flex; align-items: center; justify-content: center;
      color: white; font-size: 18px;
    }
    .logo-text strong { font-size: 19px; font-weight: 800; color: var(--primary); }
    .logo-text span { font-size: 11px; color: var(--text-light); display: block; line-height: 1.2; }

    /* ====== PROGRESS STEPS ====== */
    .progress-bar {
      display: flex;
      align-items: center;
      gap: 0;
    }
    .step {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      font-weight: 600;
      color: var(--text-light);
    }
    .step.active { color: var(--primary); }
    .step.done { color: var(--success); }
    .step-num {
      width: 28px; height: 28px;
      border-radius: 50%;
      background: var(--border);
      display: flex; align-items: center; justify-content: center;
      font-size: 13px; font-weight: 800;
      color: var(--text-light);
      flex-shrink: 0;
    }
    .step.active .step-num { background: var(--primary); color: white; }
    .step.done .step-num { background: var(--success); color: white; }
    .step-line {
      width: 40px; height: 2px;
      background: var(--border);
      margin: 0 4px;
    }
    .step.done + .step-line { background: var(--success); }

    .header-back {
      display: flex;
      align-items: center;
      gap: 7px;
      font-size: 13px;
      color: var(--text-light);
      font-weight: 600;
      padding: 7px 14px;
      border-radius: 50px;
      border: 1.5px solid var(--border);
      transition: all .2s;
    }
    .header-back:hover { border-color: var(--primary); color: var(--primary); }

    /* ====== MAIN LAYOUT ====== */
    .page-wrap {
      max-width: 1200px;
      margin: 0 auto;
      padding: 32px 24px 60px;
      display: grid;
      grid-template-columns: 1fr 400px;
      gap: 28px;
      align-items: start;
    }

    /* ====== CARD ====== */
    .card {
      background: var(--white);
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border);
      margin-bottom: 20px;
    }
    .card-header {
      padding: 18px 24px;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .card-header-icon {
      width: 34px; height: 34px;
      background: var(--primary-light);
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      color: var(--primary);
      font-size: 15px;
      flex-shrink: 0;
    }
    .card-header h3 { font-size: 16px; font-weight: 800; }
    .card-header span { font-size: 13px; color: var(--text-light); margin-left: auto; }
    .card-body { padding: 24px; }

    /* ====== FORM FIELDS ====== */
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
    .form-row.full { grid-template-columns: 1fr; }
    .form-row.three { grid-template-columns: 1fr 1fr 1fr; }
    .form-group { display: flex; flex-direction: column; gap: 5px; }
    .form-group label {
      font-size: 13px;
      font-weight: 700;
      color: var(--text);
    }
    .form-group label .req { color: var(--error); margin-left: 2px; }
    .form-group input,
    .form-group select,
    .form-group textarea {
      padding: 11px 14px;
      border: 1.5px solid var(--border);
      border-radius: var(--radius-sm);
      font-size: 14px;
      color: var(--text);
      background: var(--white);
      transition: border-color .2s, box-shadow .2s;
      outline: none;
    }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: var(--primary);
      box-shadow: 0 0 0 3px rgba(27,45,110,.08);
    }
    .form-group input.error,
    .form-group select.error { border-color: var(--error); }
    .form-group .error-msg {
      font-size: 12px;
      color: var(--error);
      display: none;
    }
    .form-group.has-error .error-msg { display: block; }
    .form-group.has-error input,
    .form-group.has-error select { border-color: var(--error); }

    /* ====== DELIVERY OPTIONS ====== */
    .delivery-opts { display: flex; flex-direction: column; gap: 10px; }
    .delivery-opt {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 14px 18px;
      border: 2px solid var(--border);
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: all .2s;
    }
    .delivery-opt:hover { border-color: var(--primary); background: var(--primary-light); }
    .delivery-opt.selected { border-color: var(--primary); background: var(--primary-light); }
    .delivery-opt input[type=radio] { display: none; }
    .radio-dot {
      width: 20px; height: 20px;
      border-radius: 50%;
      border: 2px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
      transition: all .2s;
    }
    .delivery-opt.selected .radio-dot { border-color: var(--primary); }
    .radio-dot::after {
      content: '';
      width: 10px; height: 10px;
      border-radius: 50%;
      background: var(--primary);
      opacity: 0;
      transition: opacity .2s;
    }
    .delivery-opt.selected .radio-dot::after { opacity: 1; }
    .delivery-info { flex: 1; }
    .delivery-info strong { font-size: 14px; font-weight: 700; display: block; }
    .delivery-info span { font-size: 13px; color: var(--text-light); }
    .delivery-price { font-size: 14px; font-weight: 800; color: var(--success); white-space: nowrap; }
    .delivery-price.paid { color: var(--primary); }
    .delivery-badge {
      font-size: 11px;
      font-weight: 700;
      padding: 2px 8px;
      border-radius: 4px;
      background: #fef2f2;
      color: var(--error);
    }

    /* ====== PAYMENT OPTIONS ====== */
    .payment-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .payment-opt {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 13px 16px;
      border: 2px solid var(--border);
      border-radius: var(--radius-sm);
      cursor: pointer;
      transition: all .2s;
    }
    .payment-opt:hover { border-color: var(--primary); }
    .payment-opt.selected { border-color: var(--primary); background: var(--primary-light); }
    .payment-opt input[type=radio] { display: none; }
    .pay-icon-wrap {
      width: 40px; height: 28px;
      background: var(--bg);
      border-radius: 5px;
      display: flex; align-items: center; justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }
    .payment-opt .pay-label { font-size: 13px; font-weight: 700; flex: 1; }
    .payment-opt .pay-sub { font-size: 11px; color: var(--text-light); }
    .check-mark {
      width: 18px; height: 18px;
      border-radius: 50%;
      border: 2px solid var(--border);
      display: flex; align-items: center; justify-content: center;
      font-size: 10px;
      color: var(--white);
      transition: all .2s;
      flex-shrink: 0;
    }
    .payment-opt.selected .check-mark { background: var(--primary); border-color: var(--primary); }
    .payment-opt.selected .check-mark::after { content: '✓'; }

    /* credit card fields */
    .card-fields {
      display: none;
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px dashed var(--border);
    }
    .card-fields.show { display: block; }
    .card-logos { display: flex; gap: 6px; margin-bottom: 12px; }
    .card-logo-badge {
      background: var(--bg);
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 3px 8px;
      font-size: 11px;
      font-weight: 800;
      color: var(--text-light);
    }

    /* ====== NOTE ====== */
    .note-area textarea {
      width: 100%;
      resize: vertical;
      min-height: 80px;
    }

    /* ====== RIGHT PANEL ====== */
    .order-summary { position: sticky; top: 84px; }
    .summary-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--border); overflow: hidden; margin-bottom: 16px; }
    .summary-title {
      padding: 16px 20px;
      font-size: 15px;
      font-weight: 800;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .summary-title span { font-size: 13px; font-weight: 500; color: var(--text-light); }

    .order-items { padding: 4px 0; max-height: 320px; overflow-y: auto; }
    .order-item {
      display: flex;
      gap: 12px;
      padding: 12px 20px;
      border-bottom: 1px solid var(--bg);
      align-items: center;
    }
    .order-item:last-child { border-bottom: none; }
    .oi-thumb {
      width: 52px; height: 52px;
      background: var(--bg);
      border-radius: 8px;
      display: flex; align-items: center; justify-content: center;
      font-size: 26px;
      flex-shrink: 0;
      position: relative;
    }
    .oi-qty {
      position: absolute;
      top: -6px; right: -6px;
      width: 20px; height: 20px;
      background: var(--primary);
      color: white;
      border-radius: 50%;
      font-size: 10px;
      font-weight: 800;
      display: flex; align-items: center; justify-content: center;
    }
    .oi-info { flex: 1; }
    .oi-name { font-size: 13px; font-weight: 700; line-height: 1.4; margin-bottom: 3px; }
    .oi-brand { font-size: 11px; color: var(--text-light); }
    .oi-price { font-size: 14px; font-weight: 800; color: var(--error); white-space: nowrap; }

    /* coupon */
    .coupon-row {
      padding: 14px 20px;
      border-bottom: 1px solid var(--border);
      display: flex;
      gap: 8px;
    }
    .coupon-row input {
      flex: 1;
      padding: 9px 14px;
      border: 1.5px solid var(--border);
      border-radius: var(--radius-sm);
      font-size: 13px;
      outline: none;
      font-family: inherit;
      text-transform: uppercase;
      letter-spacing: 1px;
      transition: border-color .2s;
    }
    .coupon-row input:focus { border-color: var(--primary); }
    .btn-coupon {
      background: var(--primary);
      color: white;
      padding: 9px 18px;
      border-radius: var(--radius-sm);
      font-size: 13px;
      font-weight: 700;
      transition: background .2s;
      white-space: nowrap;
    }
    .btn-coupon:hover { background: var(--primary-dark); }
    .coupon-msg { padding: 0 20px 10px; font-size: 12px; }
    .coupon-msg.ok { color: var(--success); }
    .coupon-msg.fail { color: var(--error); }

    /* price rows */
    .price-rows { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
    .price-row { display: flex; justify-content: space-between; font-size: 14px; }
    .price-row .label { color: var(--text-light); }
    .price-row.discount .val { color: var(--success); font-weight: 700; }
    .price-row.free .val { color: var(--success); font-weight: 700; }
    .price-row.total {
      border-top: 2px solid var(--border);
      padding-top: 12px;
      margin-top: 4px;
      font-size: 16px;
      font-weight: 800;
    }
    .price-row.total .val { color: var(--error); font-size: 20px; }
    .price-row.vat { font-size: 12px; color: var(--text-light); }

    /* place order btn */
    .btn-order {
      width: 100%;
      padding: 16px;
      background: linear-gradient(135deg, #EE4D2D, #f5840c);
      color: white;
      font-size: 16px;
      font-weight: 800;
      border-radius: var(--radius-sm);
      transition: all .2s;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      box-shadow: 0 4px 16px rgba(244,121,32,.35);
      letter-spacing: .3px;
    }
    .btn-order:hover { background: linear-gradient(135deg, var(--accent-dark), var(--accent)); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(244,121,32,.45); }
    .btn-order:active { transform: translateY(0); }
    .btn-order.loading { opacity: .7; pointer-events: none; }

    .secure-badges {
      display: flex;
      justify-content: center;
      gap: 16px;
      margin-top: 14px;
    }
    .secure-badge {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: 11px;
      color: var(--text-light);
    }
    .secure-badge i { color: var(--success); }

    /* ====== SUCCESS MODAL ====== */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.55);
      z-index: 2000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      opacity: 0;
      visibility: hidden;
      transition: all .3s;
    }
    .modal-overlay.show { opacity: 1; visibility: visible; }
    .modal {
      background: white;
      border-radius: 20px;
      max-width: 480px;
      width: 100%;
      padding: 48px 40px 40px;
      text-align: center;
      transform: scale(.92) translateY(20px);
      transition: transform .3s cubic-bezier(.34,1.56,.64,1);
      position: relative;
    }
    .modal-overlay.show .modal { transform: scale(1) translateY(0); }
    .success-ring {
      width: 90px; height: 90px;
      margin: 0 auto 24px;
      position: relative;
    }
    .success-ring svg { width: 90px; height: 90px; }
    .success-ring .circle-bg { fill: none; stroke: #dcfce7; stroke-width: 6; }
    .success-ring .circle-fill {
      fill: none; stroke: var(--success); stroke-width: 6;
      stroke-linecap: round;
      stroke-dasharray: 251;
      stroke-dashoffset: 251;
      transition: stroke-dashoffset 1s ease .3s;
    }
    .modal-overlay.show .circle-fill { stroke-dashoffset: 0; }
    .success-icon {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 38px;
    }
    .modal h2 { font-size: 26px; font-weight: 800; margin-bottom: 10px; color: var(--text); }
    .modal .order-id { font-size: 14px; color: var(--text-light); margin-bottom: 20px; }
    .modal .order-id strong { color: var(--primary); font-size: 16px; }
    .modal-info {
      background: var(--bg);
      border-radius: var(--radius-sm);
      padding: 16px 20px;
      margin-bottom: 24px;
      text-align: left;
    }
    .modal-info-row {
      display: flex;
      justify-content: space-between;
      font-size: 13px;
      padding: 5px 0;
      border-bottom: 1px solid var(--border);
    }
    .modal-info-row:last-child { border-bottom: none; }
    .modal-info-row .label { color: var(--text-light); }
    .modal-info-row .val { font-weight: 700; }
    .modal-btns { display: flex; gap: 12px; }
    .btn-track {
      flex: 1;
      background: var(--primary);
      color: white;
      padding: 12px;
      border-radius: var(--radius-sm);
      font-size: 14px;
      font-weight: 700;
      transition: background .2s;
    }
    .btn-track:hover { background: var(--primary-dark); }
    .btn-home {
      flex: 1;
      background: var(--bg);
      color: var(--text);
      padding: 12px;
      border-radius: var(--radius-sm);
      font-size: 14px;
      font-weight: 700;
      border: 1.5px solid var(--border);
      transition: all .2s;
    }
    .btn-home:hover { border-color: var(--primary); color: var(--primary); }
    .confetti-row {
      display: flex;
      justify-content: center;
      gap: 4px;
      margin-bottom: 20px;
      font-size: 22px;
    }

    /* ====== TOAST ====== */
    .toast {
      position: fixed;
      bottom: 28px; right: 28px;
      background: var(--error);
      color: white;
      padding: 13px 18px;
      border-radius: var(--radius-sm);
      font-size: 13px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 9px;
      box-shadow: var(--shadow-lg);
      z-index: 3000;
      transform: translateY(80px);
      opacity: 0;
      transition: all .3s;
    }
    .toast.show { transform: translateY(0); opacity: 1; }

    /* ====== EMPTY CART ====== */
    .empty-cart {
      grid-column: span 2;
      text-align: center;
      padding: 80px 20px;
      background: white;
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
    }
    .empty-cart i { font-size: 72px; color: var(--border); display: block; margin-bottom: 20px; }
    .empty-cart h2 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
    .empty-cart p { color: var(--text-light); margin-bottom: 24px; }
    .btn-back-shop {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--primary);
      color: white;
      padding: 12px 28px;
      border-radius: 50px;
      font-size: 14px;
      font-weight: 700;
      transition: background .2s;
    }
    .btn-back-shop:hover { background: var(--primary-dark); }

    /* ====== RESPONSIVE ====== */
    @media (max-width: 900px) {
      .page-wrap { grid-template-columns: 1fr; }
      .order-summary { position: static; }
      .progress-bar { display: none; }
    }
    @media (max-width: 600px) {
      .page-wrap { padding: 16px 14px 48px; gap: 16px; }
      .form-row { grid-template-columns: 1fr; }
      .form-row.three { grid-template-columns: 1fr; }
      .payment-opts { grid-template-columns: 1fr; }
      .header-inner { padding: 0 14px; }
      .card-body { padding: 16px; }
      .modal { padding: 32px 20px 28px; }
      .modal-btns { flex-direction: column; }
    }
  
/* WordPress helpers */
.admin-bar .header{top:32px}
.bigkit-wp-content{max-width:1200px;margin:20px auto;padding:0 16px}
.bigkit-logo-img{max-height:48px;width:auto;display:block}
.logo-box.bigkit-logo-box{background:transparent!important;border:0!important;padding:0!important;backdrop-filter:none!important}
.logo-text-img{height:42px;width:auto;display:block}
@media(max-width:782px){.admin-bar .header{top:46px}}
