/* =========================================================
   Techpro — Enquiry Cart page (template-cart.php)
   Namespaced under .cart- ; reuses techpro_style.css's shared
   .form-row / .form-field / .btn tokens (loaded alongside this
   file) for the "Submit an Enquiry" form instead of duplicating
   them here.
   ========================================================= */

.cart-breadcrumb{ font-size:13px; color: var(--grey-500); padding:18px 0; }
.cart-breadcrumb a{ color: var(--grey-500); }
.cart-breadcrumb a:hover{ color: var(--green); }
.cart-breadcrumb span{ margin:0 6px; }

.cart-title{ font-size:32px; margin:0 0 24px; }

/* Honeypot: off-screen (not display:none) so it still exists for a bot
   that blindly fills every input, but is invisible and unreachable (no tab
   stop) for a real visitor using a mouse, keyboard, or screen reader. */
.cart-hp-field{ position:absolute; left:-9999px; top:-9999px; width:1px; height:1px; overflow:hidden; }

.cart-notice{ border-radius: var(--radius-md); padding:14px 18px; margin-bottom:24px; font-size:14px; }
.cart-notice p{ margin:4px 0; }
.cart-notice-success{ background:#e6f7ee; color: var(--green-dark); }
.cart-notice-error{ background:#fdeceb; color:#b3261e; }

.cart-empty{ padding:48px 24px; text-align:center; color: var(--grey-500); border:1px dashed var(--grey-300); border-radius: var(--radius-lg); margin-bottom:32px; }
.cart-empty p{ margin-bottom:16px; }

.cart-table-wrap{ overflow-x:auto; border:1px solid var(--grey-300); border-radius: var(--radius-lg); margin-bottom:40px; }
.cart-table{ width:100%; border-collapse:collapse; min-width:640px; }
.cart-table thead tr{ background:#eaf7ef; }
.cart-table th{ text-align:left; font-size:12.5px; font-weight:700; color: var(--grey-700); padding:14px 16px; }
.cart-table td{ padding:14px 16px; border-top:1px solid var(--grey-100); font-size:13.5px; vertical-align:middle; }

.cart-product-cell{ display:flex; align-items:center; gap:14px; }
.cart-product-media{ width:48px; height:48px; flex-shrink:0; border-radius: var(--radius-sm); overflow:hidden; background: var(--grey-50); }
.cart-product-media img{ width:100%; height:100%; object-fit:cover; }
.cart-product-title{ margin:0 0 2px; font-size:14px; font-weight:600; color: var(--ink); }
.cart-product-code{ font-size:12.5px; color: var(--green-dark); text-decoration:none; }
.cart-product-code:hover{ text-decoration:underline; }
.cart-product-variant{ margin:4px 0 0; font-size:12.5px; color: var(--grey-500); }

.cart-col-remove{ width:44px; text-align:center; }
.cart-remove-btn{ background:none; border:none; padding:6px; color: var(--grey-500); cursor:pointer; border-radius: var(--radius-sm); }
.cart-remove-btn:hover{ color:#b3261e; background:#fdeceb; }

.cart-col-qty{ width:1%; white-space:nowrap; }
.cart-qty-form{ display:flex; align-items:center; gap:8px; }
.cart-qty-update-btn{ padding:8px 12px; font-size:12px; }
.cart-qty-form.is-updated .pf-qty-stepper{ border-color: var(--green); transition: border-color .2s ease; }

.cart-enquiry-section{ max-width:760px; margin-bottom:64px; }
.cart-enquiry-section h2{ margin:0 0 6px; }
.cart-submit-row{ margin-top:8px; }

@media (max-width: 640px){
  .cart-product-cell{ align-items:flex-start; }
}
