/* CrewCustom Commerce — site-styled Reviews, Cart, Checkout.
 *
 * Tokens duplicated from crewcustom-core (--ccc-*) so plugin survives
 * deactivation/reactivation of core. Scoped to .ccm-* class hierarchy.
 */

:root {
  --ccm-navy:   #0f2147;
  --ccm-text:   #1a2540;
  --ccm-mute:   #5a6477;
  --ccm-orange: #f58a1f;
  --ccm-yellow: #ffc347;
  --ccm-soft:   #f4f6f9;
  --ccm-line:   #e2e6ec;
  --ccm-green:  #1e9d6a;
  --ccm-red:    #c8362e;
}

/* ============================================================
   REVIEWS
   ============================================================ */
.ccm-reviews {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ccm-text);
  max-width: 900px;
  margin: 0 auto;
}

.ccm-reviews-header {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
  padding: 24px;
  background: var(--ccm-soft);
  border-radius: 16px;
  margin-bottom: 24px;
}
@media (max-width: 640px) {
  .ccm-reviews-header { grid-template-columns: 1fr; }
}

.ccm-reviews-summary { text-align: center; }
.ccm-reviews-score { font-size: 48px; font-weight: 900; color: var(--ccm-navy); line-height: 1; }
.ccm-reviews-stars { display: flex; gap: 2px; justify-content: center; margin: 6px 0; }
.ccm-star { font-size: 18px; color: var(--ccm-line); }
.ccm-star.is-on { color: var(--ccm-orange); }
.ccm-reviews-count { font-size: 13px; color: var(--ccm-mute); }

.ccm-reviews-distribution { display: flex; flex-direction: column; gap: 6px; }
.ccm-rating-row {
  display: grid; grid-template-columns: 40px 1fr 40px;
  align-items: center; gap: 10px;
  background: none; border: none;
  padding: 6px 8px;
  cursor: pointer;
  border-radius: 6px;
  text-align: left;
  transition: background 0.15s ease;
}
.ccm-rating-row:hover { background: rgba(245, 138, 31, 0.08); }
.ccm-rating-label { font-size: 13px; font-weight: 700; color: var(--ccm-navy); }
.ccm-rating-bar { background: var(--ccm-line); border-radius: 999px; height: 8px; overflow: hidden; }
.ccm-rating-fill { background: var(--ccm-orange); height: 100%; transition: width 0.3s ease; }
.ccm-rating-count { font-size: 12px; color: var(--ccm-mute); text-align: right; }

.ccm-reviews-toolbar {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-bottom: 20px;
}
.ccm-filter-chip {
  padding: 8px 16px;
  border: 1.5px solid var(--ccm-line);
  background: #fff;
  border-radius: 999px;
  font-size: 13px; font-weight: 700;
  color: var(--ccm-navy);
  cursor: pointer;
  transition: all 0.15s ease;
}
.ccm-filter-chip:hover { border-color: var(--ccm-orange); }
.ccm-filter-chip.is-active { background: var(--ccm-navy); color: #fff; border-color: var(--ccm-navy); }
.ccm-write-review-btn {
  margin-left: auto;
  padding: 10px 18px;
  background: var(--ccm-orange);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
  transition: background 0.15s ease;
}
.ccm-write-review-btn:hover { background: #d9750f; color: #fff; }

.ccm-reviews-list { display: flex; flex-direction: column; gap: 16px; }
.ccm-reviews-empty { text-align: center; padding: 40px; color: var(--ccm-mute); }

.ccm-review-card {
  padding: 20px;
  background: #fff;
  border: 1px solid var(--ccm-line);
  border-radius: 12px;
}
.ccm-review-head { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.ccm-review-stars { display: flex; gap: 1px; }
.ccm-review-meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ccm-mute); flex-wrap: wrap; }
.ccm-review-meta strong { color: var(--ccm-navy); font-weight: 800; }
.ccm-verified-badge {
  font-size: 11px;
  background: #d6f0e2;
  color: var(--ccm-green);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.ccm-review-body { color: var(--ccm-text); font-size: 14px; line-height: 1.6; margin-bottom: 12px; }
.ccm-review-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.ccm-review-photo {
  width: 80px; height: 80px;
  border-radius: 8px;
  overflow: hidden;
  display: block;
}
.ccm-review-photo img { width: 100%; height: 100%; object-fit: cover; }
.ccm-review-foot { display: flex; gap: 12px; }
.ccm-helpful-btn {
  background: var(--ccm-soft);
  border: 1px solid var(--ccm-line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ccm-navy);
  cursor: pointer;
  transition: all 0.15s ease;
}
.ccm-helpful-btn:hover:not(:disabled) { border-color: var(--ccm-orange); background: #fff8ed; }
.ccm-helpful-btn.is-voted { background: var(--ccm-orange); color: #fff; border-color: var(--ccm-orange); }

.ccm-reviews-pagination { text-align: center; margin-top: 24px; }
.ccm-load-more-btn {
  padding: 12px 28px;
  background: #fff;
  border: 2px solid var(--ccm-navy);
  color: var(--ccm-navy);
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}
.ccm-load-more-btn:hover { background: var(--ccm-navy); color: #fff; }

/* Review form */
.ccm-review-form {
  margin-top: 32px;
  padding: 28px;
  background: var(--ccm-soft);
  border-radius: 16px;
}
.ccm-form-title { margin: 0 0 20px; font-size: 22px; color: var(--ccm-navy); font-weight: 900; }
.ccm-form-row { margin-bottom: 16px; }
.ccm-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 640px) { .ccm-form-grid { grid-template-columns: 1fr; } }
.ccm-form-label { display: block; font-weight: 700; font-size: 13px; color: var(--ccm-navy); margin-bottom: 6px; }
.ccm-form-hint { font-weight: 400; color: var(--ccm-mute); font-size: 11px; margin-left: 4px; }
.ccm-required { color: var(--ccm-red); }
.ccm-form-input, .ccm-form-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--ccm-line);
  border-radius: 8px;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  color: var(--ccm-text);
}
.ccm-form-input:focus, .ccm-form-textarea:focus {
  outline: 2px solid var(--ccm-orange);
  outline-offset: 1px;
  border-color: var(--ccm-orange);
}
.ccm-form-textarea { resize: vertical; min-height: 100px; }

.ccm-rating-picker { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.ccm-rating-picker input { display: none; }
.ccm-rating-picker label {
  font-size: 30px;
  color: var(--ccm-line);
  cursor: pointer;
  transition: color 0.1s ease;
}
.ccm-rating-picker label:hover,
.ccm-rating-picker label:hover ~ label,
.ccm-rating-picker input:checked ~ label { color: var(--ccm-orange); }

.ccm-photo-uploader { background: #fff; border-radius: 12px; padding: 4px; position: relative; }
.ccm-photo-input-sr {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  padding: 0 !important; margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.ccm-photo-dropzone {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 28px 16px;
  border: 2px dashed var(--ccm-line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.ccm-photo-dropzone:hover, .ccm-photo-dropzone.is-drag {
  border-color: var(--ccm-orange);
  background: #fff8ed;
}
.ccm-photo-dropzone-icon { font-size: 32px; margin-bottom: 6px; }
.ccm-photo-dropzone-text { color: var(--ccm-mute); font-size: 13px; }
.ccm-photo-previews { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.ccm-photo-preview {
  position: relative;
  width: 70px; height: 70px;
  border-radius: 8px;
  overflow: hidden;
}
.ccm-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.ccm-photo-remove {
  position: absolute; top: 2px; right: 2px;
  width: 20px; height: 20px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px; line-height: 1;
}

.ccm-form-actions { display: flex; align-items: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.ccm-submit-btn {
  background: var(--ccm-orange);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}
.ccm-submit-btn:hover { background: #d9750f; }
.ccm-form-disclaimer { font-size: 11px; color: var(--ccm-mute); margin: 0; }

/* ============================================================
   ESCAPE theme's max-w-[860px] container on cart + checkout pages.
   Use 1000px (compact like reference) instead of 1200px.
   ============================================================ */
.ccm-cart-page .max-w-\[860px\],
.ccm-checkout-page .max-w-\[860px\],
.ccm-cart-page .prose,
.ccm-checkout-page .prose {
  max-width: 1000px !important;
}
.ccm-cart-page .prose,
.ccm-checkout-page .prose {
  /* Disable prose typography styles that conflict with form layouts */
  color: inherit;
}
.ccm-cart-page .prose :where(h1, h2, h3, h4, ul, ol, p, table),
.ccm-checkout-page .prose :where(h1, h2, h3, h4, ul, ol, p, table) {
  margin: revert;
  max-width: none;
}

/* ============================================================
   CART PAGE
   ============================================================ */
.ccm-cart-page .ccm-cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 24px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
@media (max-width: 900px) {
  .ccm-cart-page .ccm-cart-layout { grid-template-columns: 1fr; }
}

.ccm-cart-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px var(--ccm-line); }
.ccm-cart-table thead th { background: var(--ccm-soft); padding: 12px; font-size: 12px; text-transform: uppercase; color: var(--ccm-mute); text-align: left; letter-spacing: 0.05em; }
.ccm-cart-table tbody td { padding: 16px 12px; border-top: 1px solid var(--ccm-line); vertical-align: middle; }
.ccm-cart-product { display: flex; gap: 14px; align-items: center; }
.ccm-cart-thumb img { width: 70px; height: 70px; object-fit: cover; border-radius: 8px; }
.ccm-cart-name { color: var(--ccm-navy); font-weight: 800; text-decoration: none; }
.ccm-cart-name:hover { color: var(--ccm-orange); }
.ccm-cart-details { color: var(--ccm-text); font-size: 13px; }
.ccm-cart-details dl { display: flex; flex-direction: column; gap: 2px; font-size: 12px; color: var(--ccm-mute); margin: 6px 0 0; }
.ccm-remove-btn {
  display: inline-grid; place-items: center;
  width: 28px; height: 28px;
  border-radius: 999px;
  background: var(--ccm-soft);
  color: var(--ccm-mute);
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
  transition: all 0.15s ease;
}
.ccm-remove-btn:hover { background: var(--ccm-red); color: #fff; }

.ccm-coupon-row { display: inline-flex; gap: 8px; margin-right: 12px; }
.ccm-coupon-input { padding: 10px 14px; border: 1.5px solid var(--ccm-line); border-radius: 8px; width: 180px; font-family: inherit; }
.ccm-coupon-apply-btn, .ccm-update-cart-btn {
  padding: 10px 18px;
  background: #fff;
  border: 1.5px solid var(--ccm-navy);
  color: var(--ccm-navy);
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}
.ccm-coupon-apply-btn:hover, .ccm-update-cart-btn:hover { background: var(--ccm-navy); color: #fff; }

.ccm-continue-shopping {
  display: inline-block;
  margin-top: 16px;
  color: var(--ccm-mute);
  text-decoration: none;
  font-weight: 600;
}
.ccm-continue-shopping:hover { color: var(--ccm-orange); }

.ccm-cart-sidebar {
  position: sticky;
  top: 100px;
  align-self: flex-start;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.ccm-cart-summary-card {
  padding: 24px;
  background: var(--ccm-soft);
  border-radius: 16px;
  border: 1px solid var(--ccm-line);
}
.ccm-summary-title { font-size: 18px; font-weight: 900; margin: 0 0 16px; color: var(--ccm-navy); }

/* Suppress WC native cart_totals heading + purple proceed button — we render
 * a cleaner inline equivalent below it. */
.ccm-cart-summary-card .cart_totals > h2 { display: none !important; }
.ccm-cart-summary-card .wc-proceed-to-checkout { display: none !important; }

/* Tidy WC's `<table class="shop_table">` inside cart-totals: flatten rows. */
.ccm-cart-summary-card .shop_table,
.ccm-cart-summary-card .shop_table tbody {
  width: 100%;
  background: transparent !important;
  border: 0 !important;
  border-collapse: collapse;
}
.ccm-cart-summary-card .shop_table tr {
  background: transparent !important;
  border: 0 !important;
}
.ccm-cart-summary-card .shop_table th,
.ccm-cart-summary-card .shop_table td {
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid var(--ccm-line) !important;
  padding: 12px 0 !important;
  font-size: 13px !important;
  color: var(--ccm-mute) !important;
  text-align: left !important;
}
.ccm-cart-summary-card .shop_table td { text-align: right !important; font-weight: 700; color: var(--ccm-navy) !important; }
.ccm-cart-summary-card .shop_table tr:first-child th,
.ccm-cart-summary-card .shop_table tr:first-child td { border-top: 0 !important; }
.ccm-cart-summary-card .shop_table tr.order-total th,
.ccm-cart-summary-card .shop_table tr.order-total td {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: var(--ccm-navy) !important;
  padding-top: 16px !important;
}

/* Cart action buttons + coupon row */
.ccm-cart-page .ccm-coupon-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.ccm-cart-page .ccm-coupon-input {
  flex: 1;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--ccm-line);
  border-radius: 8px;
  font-size: 13px;
  background: #fff;
}
.ccm-cart-page .ccm-coupon-apply-btn,
.ccm-cart-page .ccm-update-cart-btn {
  height: 40px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  border: 1px solid var(--ccm-navy);
  background: #fff;
  color: var(--ccm-navy);
  transition: background 0.15s, color 0.15s;
}
.ccm-cart-page .ccm-coupon-apply-btn:hover,
.ccm-cart-page .ccm-update-cart-btn:hover { background: var(--ccm-navy); color: #fff; }

.ccm-checkout-btn,
.ccm-cart-page a.ccm-checkout-btn,
.ccm-cart-summary-card a.ccm-checkout-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  background: var(--ccm-navy) !important;
  color: #fff !important;
  text-decoration: none !important;
  padding: 14px !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 18px 0 12px;
  transition: background 0.15s ease;
  border: 0 !important;
}
.ccm-checkout-btn:hover,
.ccm-cart-page a.ccm-checkout-btn:hover { background: #1a3a78 !important; color: #fff !important; }

/* Remove the green WC notice tile, replace with checkout-style notice */
.ccm-cart-page .woocommerce-message {
  background: #ecfdf5 !important;
  border-left: 3px solid #10b981 !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 13px !important;
  color: #065f46 !important;
  box-shadow: none !important;
}
.ccm-cart-page .woocommerce-message .button { display: none !important; }

.ccm-trust-row {
  display: flex; gap: 8px; justify-content: space-around;
  padding-top: 12px;
  border-top: 1px solid var(--ccm-line);
  font-size: 11px;
  color: var(--ccm-mute);
}
.ccm-trust-item { display: flex; align-items: center; gap: 4px; font-weight: 700; }

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.ccm-checkout-page .ccm-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
@media (max-width: 900px) {
  .ccm-checkout-page .ccm-checkout-layout { grid-template-columns: 1fr; }
}

.ccm-checkout-stepper { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; padding: 16px; background: #fff; border-radius: 12px; }
.ccm-step { display: flex; align-items: center; gap: 8px; opacity: 0.5; }
.ccm-step.is-active { opacity: 1; }
.ccm-step-num {
  width: 28px; height: 28px;
  background: var(--ccm-line);
  border-radius: 999px;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
  color: var(--ccm-navy);
}
.ccm-step.is-active .ccm-step-num { background: var(--ccm-orange); color: #fff; }
.ccm-step-label { font-size: 13px; font-weight: 700; color: var(--ccm-navy); }
.ccm-step-divider { flex: 1; height: 2px; background: var(--ccm-line); border-radius: 2px; }

.ccm-checkout-section {
  background: #fff;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}
.ccm-section-title { margin: 0 0 16px; font-size: 18px; font-weight: 900; color: var(--ccm-navy); }

/* WC form field overrides — apply on BOTH cart + checkout */
.ccm-cart-page,
.ccm-checkout-page {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ccm-text);
}
.ccm-cart-page h1,
.ccm-checkout-page h1 {
  color: var(--ccm-navy);
  font-weight: 900;
  font-size: 32px;
  margin: 0 0 24px;
  font-family: inherit;
}

.ccm-cart-page h3.product-title,
.ccm-checkout-page h3 {
  color: var(--ccm-navy);
  font-weight: 800;
  font-size: 18px;
  margin: 0 0 14px;
}

/* WC billing/shipping field wrappers */
.ccm-checkout-page .woocommerce-billing-fields h3,
.ccm-checkout-page .woocommerce-shipping-fields h3,
.ccm-checkout-page .woocommerce-additional-fields h3,
.ccm-checkout-page #order_review_heading {
  color: var(--ccm-navy) !important;
  font-weight: 800 !important;
  font-size: 16px !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: none !important;
  font-family: inherit !important;
}

/* Unbreak theme's .col2-set which splits Billing/Additional 50/50 horizontally.
 * Stack vertically instead so Billing gets full form width + Additional below. */
.ccm-checkout-page .col2-set,
.ccm-checkout-page #customer_details.col2-set {
  display: block !important;
  width: 100% !important;
}
.ccm-checkout-page .col2-set .col-1,
.ccm-checkout-page .col2-set .col-2 {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 0 20px !important;
}

.ccm-checkout-page .woocommerce-billing-fields__field-wrapper,
.ccm-checkout-page .woocommerce-shipping-fields__field-wrapper,
.ccm-checkout-page .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.ccm-checkout-page .form-row {
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  width: auto !important;
}
.ccm-checkout-page .form-row-first { grid-column: 1 / 4 !important; }
.ccm-checkout-page .form-row-last  { grid-column: 4 / -1 !important; }
.ccm-checkout-page .form-row-third      { grid-column: span 2 !important; }
.ccm-checkout-page .form-row-third-last { grid-column: span 2 !important; }
.ccm-checkout-page .form-row-wide,
.ccm-checkout-page .form-row-full,
.ccm-checkout-page #billing_country_field,
.ccm-checkout-page #billing_address_1_field,
.ccm-checkout-page #billing_address_2_field,
.ccm-checkout-page #billing_email_field,
.ccm-checkout-page #order_comments_field,
.ccm-checkout-page #shipping_address_1_field,
.ccm-checkout-page #shipping_address_2_field {
  grid-column: 1 / -1 !important;
}
/* Shopify-style: City | State | ZIP on one row (3 × 1/3). */
.ccm-checkout-page #billing_city_field     { grid-column: 1 / 3 !important;  order: 6 !important; }
.ccm-checkout-page #billing_state_field    { grid-column: 3 / 5 !important;  order: 7 !important; }
.ccm-checkout-page #billing_postcode_field { grid-column: 5 / -1 !important; order: 8 !important; }
.ccm-checkout-page #billing_phone_field    { grid-column: 1 / -1 !important; order: 9 !important; }
/* Explicit order for upstream fields too — WC locale overrides may shuffle */
.ccm-checkout-page #billing_country_field    { order: 1 !important; }
.ccm-checkout-page #billing_first_name_field { order: 2 !important; }
.ccm-checkout-page #billing_last_name_field  { order: 3 !important; }
.ccm-checkout-page #billing_company_field    { order: 4 !important; }
.ccm-checkout-page #billing_address_1_field  { order: 5 !important; }
.ccm-checkout-page #billing_address_2_field  { order: 5 !important; }

.ccm-cart-page label,
.ccm-checkout-page label {
  font-weight: 700 !important;
  font-size: 12px !important;
  color: var(--ccm-navy) !important;
  font-family: inherit !important;
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.ccm-checkout-page .required, .ccm-checkout-page abbr.required { color: var(--ccm-red) !important; text-decoration: none !important; border: none !important; }
.ccm-checkout-page .optional { color: var(--ccm-mute); font-weight: 400; font-size: 11px; }

/* Inputs — beefy + branded */
.ccm-cart-page input[type=text],
.ccm-cart-page input[type=email],
.ccm-cart-page input[type=tel],
.ccm-cart-page input[type=number],
.ccm-cart-page input[type=password],
.ccm-cart-page select,
.ccm-cart-page textarea,
.ccm-checkout-page input[type=text],
.ccm-checkout-page input[type=email],
.ccm-checkout-page input[type=tel],
.ccm-checkout-page input[type=number],
.ccm-checkout-page input[type=password],
.ccm-checkout-page select,
.ccm-checkout-page textarea,
.ccm-checkout-page .select2-container--default .select2-selection--single,
.ccm-checkout-page .country_select + .select2-container .select2-selection,
.ccm-checkout-page .state_select + .select2-container .select2-selection {
  width: 100% !important;
  height: 44px !important;
  padding: 0 14px !important;
  border: 1.5px solid var(--ccm-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  font-family: inherit !important;
  font-size: 14px !important;
  color: var(--ccm-text) !important;
  line-height: 42px !important;
  box-sizing: border-box !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ccm-checkout-page textarea {
  height: 80px !important;
  padding: 10px 14px !important;
  line-height: 1.5 !important;
}
.ccm-cart-page input:focus,
.ccm-cart-page select:focus,
.ccm-cart-page textarea:focus,
.ccm-checkout-page input:focus,
.ccm-checkout-page select:focus,
.ccm-checkout-page textarea:focus,
.ccm-checkout-page .select2-container--open .select2-selection {
  outline: none !important;
  border-color: var(--ccm-orange) !important;
  box-shadow: 0 0 0 3px rgba(245, 138, 31, 0.18) !important;
}

/* select2 dropdown match */
.ccm-checkout-page .select2-selection__rendered { line-height: 42px !important; padding-left: 0 !important; color: var(--ccm-text) !important; }
.ccm-checkout-page .select2-selection__arrow { height: 42px !important; right: 8px !important; }

/* WC notices — comprehensive styling for ALL notice types (info/message/error).
 * Notice classes seen on checkout: .woocommerce-message (green/success),
 * .woocommerce-info (blue/info), .woocommerce-error (red), .wc-block-components-notice-banner */
.ccm-cart-page .woocommerce-notices-wrapper,
.ccm-checkout-page .woocommerce-notices-wrapper {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.ccm-cart-page .woocommerce-message,
.ccm-cart-page .woocommerce-info,
.ccm-cart-page .woocommerce-error,
.ccm-checkout-page .woocommerce-message,
.ccm-checkout-page .woocommerce-info,
.ccm-checkout-page .woocommerce-error {
  background: #fff8ed !important;
  border: 1px solid #f9a93b !important;
  border-left: 4px solid var(--ccm-orange) !important;
  border-radius: 10px;
  padding: 12px 16px !important;
  color: var(--ccm-navy) !important;
  font-size: 13px;
  font-family: inherit !important;
  margin: 0 !important;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.ccm-cart-page .woocommerce-message,
.ccm-checkout-page .woocommerce-message {
  background: #d6f0e2 !important;
  border-color: #1e9d6a !important;
  border-left-color: var(--ccm-green) !important;
}
.ccm-cart-page .woocommerce-error,
.ccm-checkout-page .woocommerce-error {
  background: #fde2e0 !important;
  border-color: #c8362e !important;
  border-left-color: var(--ccm-red) !important;
}
.ccm-cart-page .woocommerce-message::before,
.ccm-cart-page .woocommerce-info::before,
.ccm-cart-page .woocommerce-error::before,
.ccm-checkout-page .woocommerce-message::before,
.ccm-checkout-page .woocommerce-info::before,
.ccm-checkout-page .woocommerce-error::before {
  display: none !important;
}
.ccm-cart-page .woocommerce-message a,
.ccm-cart-page .woocommerce-info a,
.ccm-checkout-page .woocommerce-message a,
.ccm-checkout-page .woocommerce-info a {
  background: transparent !important;
  color: var(--ccm-navy) !important;
  font-weight: 800 !important;
  padding: 6px 14px !important;
  border: 1.5px solid var(--ccm-navy) !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  font-size: 12px !important;
  transition: all 0.15s ease;
  white-space: nowrap;
}
.ccm-cart-page .woocommerce-message a:hover,
.ccm-checkout-page .woocommerce-message a:hover {
  background: var(--ccm-navy) !important;
  color: #fff !important;
}
/* But coupon toggle link stays plain underlined */
.ccm-checkout-page .woocommerce-form-coupon-toggle .woocommerce-info a.showcoupon {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  text-decoration: underline !important;
  color: var(--ccm-orange) !important;
}

/* Coupon form (when toggled open) */
.ccm-checkout-page .checkout_coupon {
  background: #fff;
  border: 1.5px solid var(--ccm-line);
  border-radius: 12px;
  padding: 16px !important;
  margin: 0 0 20px !important;
}
.ccm-checkout-page .checkout_coupon .form-row { margin: 0 !important; display: flex; gap: 8px; align-items: stretch; }
.ccm-checkout-page .checkout_coupon input[type=text] { flex: 1; margin: 0 !important; }
.ccm-checkout-page .checkout_coupon .button {
  height: 44px;
  padding: 0 24px;
  background: var(--ccm-navy);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}

/* Order review payment box on checkout */
.ccm-checkout-page #order_review {
  margin-top: 16px;
}
.ccm-checkout-page .woocommerce-checkout-review-order-table { display: none; } /* hide duplicate WC table; we have our sidebar */
.ccm-checkout-page #payment {
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-top: 0;
}
/* Shopify-style payment-method radio cards — light + flat (per design).
 *  - 1px line-color border (no thick navy on hover)
 *  - Selected: subtle navy border, no box-shadow halo
 *  - payment_box (description) bleeds into card with NO bg/border shift */
.ccm-checkout-page #payment .payment_methods,
body.ccm-checkout-page #payment ul.payment_methods {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px;
}
/* WC's clearfix pseudo on UL becomes a flex item under display:flex
 * and creates a phantom ~8px gap above + below the LI cards. */
.ccm-checkout-page #payment .payment_methods::before,
.ccm-checkout-page #payment .payment_methods::after {
  display: none !important;
  content: none !important;
}
.ccm-checkout-page #payment .payment_methods li.wc_payment_method {
  background: #fff;
  border: 1px solid var(--ccm-line);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 0;
  overflow: hidden;
  transition: border-color 0.15s;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 10px;
  row-gap: 6px;
}
.ccm-checkout-page #payment .payment_methods li.wc_payment_method > input[type=radio] {
  flex: 0 0 auto;
  order: 1;
}
.ccm-checkout-page #payment .payment_methods li.wc_payment_method > label {
  flex: 1 1 auto;
  order: 2;
  min-width: 0;
}
.ccm-checkout-page #payment .payment_methods li.wc_payment_method > .payment_box {
  flex: 0 0 100%;
  order: 3;
}
.ccm-checkout-page #payment .payment_methods li.wc_payment_method:has(input[type=radio]:checked) {
  border-color: var(--ccm-navy);
  /* No box-shadow — keep the look clean per mockup */
}
.ccm-checkout-page #payment .payment_methods li.wc_payment_method > label {
  display: block !important;
  padding: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--ccm-text) !important;
  cursor: pointer;
  margin: 0 !important;
  box-sizing: border-box;
}
.ccm-checkout-page #payment .payment_methods li.wc_payment_method:has(input[type=radio]:checked) > label {
  color: var(--ccm-navy) !important;
}
.ccm-checkout-page #payment .payment_methods li.wc_payment_method > label img {
  max-height: 22px;
  margin-left: auto;
}
.ccm-checkout-page #payment .payment_methods li input[type=radio] {
  -webkit-appearance: none !important;
  appearance: none !important;
  display: inline-block !important;  /* WC hides single-method radios via style="display:none"; force show */
  width: 18px !important;
  height: 18px !important;
  border: 2px solid #cfd4dc;
  border-radius: 50%;
  background: #fff;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s;
}
.ccm-checkout-page #payment .payment_methods li input[type=radio]:checked {
  border-color: var(--ccm-navy);
}
.ccm-checkout-page #payment .payment_methods li input[type=radio]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  background: var(--ccm-navy);
  border-radius: 50%;
}
/* Payment-method description — flat, bleeds into the card (no different bg).
 * Note: `.ccm-checkout-page` is ON the body element, so use `body.ccm-checkout-page`
 * (attached, no space) — otherwise the rule won't match. */
html body.ccm-checkout-page #payment ul.payment_methods li.wc_payment_method div.payment_box,
html body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method div.payment_box {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 4px 0 0 28px !important;  /* tiny top gap + indent under label */
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
  color: var(--ccm-mute) !important;
  box-shadow: none !important;
}
body.ccm-checkout-page #payment ul.payment_methods li.wc_payment_method .payment_box p,
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method .payment_box p {
  margin: 0 !important;
}
body.ccm-checkout-page #payment ul.payment_methods li.wc_payment_method .payment_box p + p,
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method .payment_box p + p {
  margin-top: 6px !important;
}
/* WC's CSS triangle pointer via ::before — fully removed. */
body.ccm-checkout-page #payment ul.payment_methods li.wc_payment_method .payment_box::before,
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method .payment_box::before,
body.ccm-checkout-page #payment ul.payment_methods li.wc_payment_method .payment_box::after,
body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method .payment_box::after {
  display: none !important;
  content: none !important;
  border: 0 !important;
  background: transparent !important;
}

/* Pay-now button — ORANGE primary action */
.ccm-checkout-page #place_order,
.ccm-checkout-page button[name=woocommerce_checkout_place_order] {
  width: 100%;
  background: var(--ccm-orange) !important;
  color: #fff !important;
  border: none !important;
  padding: 14px !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 16px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.ccm-checkout-page #place_order:hover { background: #d9750f !important; }

/* Order table in sidebar (matches reference: PRODUCT | SUBTOTAL header) */
.ccm-checkout-page .ccm-order-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
}
.ccm-checkout-page .ccm-order-table thead th {
  text-align: left;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ccm-mute);
  padding: 8px 0;
  border-bottom: 1px solid var(--ccm-line);
}
.ccm-checkout-page .ccm-order-table thead .ccm-th-subtotal { text-align: right; }
.ccm-checkout-page .ccm-order-row td { padding: 12px 0; vertical-align: top; border-bottom: 1px dashed var(--ccm-line); }
.ccm-checkout-page .ccm-order-product-flex { display: flex; gap: 10px; align-items: flex-start; }
.ccm-checkout-page .ccm-order-meta strong { display: block; color: var(--ccm-navy); font-size: 13px; line-height: 1.4; margin-bottom: 4px; }
/* Hide default dt labels — pills carry meaning themselves */
.ccm-checkout-page .ccm-order-attrs,
.ccm-cart-page .ccm-cart-details .ccc-meta-color-chip,
.ccm-cart-page .ccm-cart-details .ccc-size-pills,
.ccm-cart-page .ccm-cart-details .ccc-upgrade-pills {
  margin-top: 6px;
}
.ccm-checkout-page .ccm-order-attrs dl,
.ccm-cart-page .ccm-cart-details dl,
.ccm-checkout-page .woocommerce-cart-form .variation,
.ccm-cart-page .woocommerce-cart-form .variation {
  margin: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center;
  gap: 6px;
}
.ccm-checkout-page .ccm-order-attrs dt,
.ccm-cart-page .ccm-cart-details dt,
.ccm-checkout-page .woocommerce-cart-form .variation dt,
.ccm-cart-page .woocommerce-cart-form .variation dt {
  display: none !important;
}
.ccm-checkout-page .ccm-order-attrs dd,
.ccm-cart-page .ccm-cart-details dd,
.ccm-checkout-page .woocommerce-cart-form .variation dd,
.ccm-cart-page .woocommerce-cart-form .variation dd {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 11px !important;
  color: var(--ccm-text) !important;
  font-weight: 400 !important;
  display: block !important;
}
.ccm-checkout-page .ccm-order-attrs dd p,
.ccm-cart-page .ccm-cart-details dd p,
.ccm-checkout-page .woocommerce-cart-form dd p,
.ccm-cart-page .woocommerce-cart-form dd p {
  margin: 0 !important;
  display: inline;
}
.ccm-checkout-page .ccm-order-subtotal { text-align: right; font-weight: 800; color: var(--ccm-navy); font-size: 13px; white-space: nowrap; padding-left: 8px !important; }

/* ============================================================
   META BADGES: color chip + size pills + upgrade pills
   Used in cart line item, checkout order summary, mini-cart drawer
   ============================================================ */
.ccc-meta-color-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px 3px 4px;
  background: #fff;
  border: 1px solid #e2e6ec;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #0f2147;
  text-transform: capitalize;
  vertical-align: middle;
}
.ccc-color-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.ccc-size-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  vertical-align: middle;
}
.ccc-size-pill {
  display: inline-flex !important;
  align-items: baseline;
  gap: 4px;
  padding: 4px 10px !important;
  background: #f4f6f9 !important;
  border: 1px solid #e2e6ec !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  line-height: 1 !important;
  height: auto !important;
  vertical-align: middle;
}
.ccc-size-pill .ccc-size-key {
  font-weight: 800 !important;
  font-size: 12px !important;
  color: #0f2147 !important;
  line-height: 1 !important;
  display: inline !important;
}
.ccc-size-pill .ccc-size-qty {
  font-size: 11px !important;
  color: #5a6477 !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  display: inline !important;
}
.ccc-upgrade-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
}
.ccc-upgrade-pill {
  display: inline-block;
  padding: 3px 8px;
  background: #fff8ed;
  border: 1px solid #f9a93b;
  border-radius: 6px;
  font-size: 11px;
  color: #f58a1f;
  font-weight: 700;
}
.ccm-checkout-page .ccm-order-subtotal { text-align: right; font-weight: 800; color: var(--ccm-navy); font-size: 13px; white-space: nowrap; padding-left: 8px !important; }

/* Privacy + terms inside order review */
.ccm-checkout-page .woocommerce-privacy-policy-text { font-size: 11px; color: var(--ccm-mute); margin: 14px 0; line-height: 1.5; }
.ccm-checkout-page .woocommerce-privacy-policy-text a { color: var(--ccm-orange); }
.ccm-checkout-page .woocommerce-terms-and-conditions-wrapper label { font-size: 12px !important; font-weight: 600 !important; }

/* Hide duplicate review_order shipping/total rows (we render our own) */
.ccm-checkout-page .woocommerce-checkout-review-order-table .shop_table,
.ccm-checkout-page #order_review > table.shop_table { display: none !important; }

/* Terms checkbox row */
.ccm-checkout-page .woocommerce-terms-and-conditions-wrapper { margin: 14px 0; }
.ccm-checkout-page #terms { accent-color: var(--ccm-orange); }

/* "Returning customer? Click here to login" notice */
.ccm-checkout-page .woocommerce-form-login-toggle .woocommerce-info { background: #f4f6f9 !important; border-left-color: var(--ccm-navy) !important; }

.ccm-checkout-sidebar { position: sticky; top: 100px; align-self: flex-start; }
.ccm-checkout-summary-card {
  padding: 24px;
  background: var(--ccm-soft);
  border-radius: 16px;
}
.ccm-order-mini-table { width: 100%; }
.ccm-order-row td { padding: 10px 4px; vertical-align: middle; }
.ccm-order-row + .ccm-order-row td { border-top: 1px dashed var(--ccm-line); }
.ccm-order-thumb-wrap { position: relative; width: 50px; height: 50px; }
.ccm-order-thumb-wrap img { width: 50px; height: 50px; object-fit: cover; border-radius: 8px; }
.ccm-order-qty-badge {
  position: absolute; top: -8px; right: -8px;
  background: var(--ccm-navy);
  color: #fff;
  font-size: 10px; font-weight: 800;
  padding: 2px 6px;
  border-radius: 999px;
}
.ccm-order-name { font-size: 13px; padding-left: 8px; }
.ccm-order-name strong { color: var(--ccm-navy); }
.ccm-order-name small { display: block; font-size: 11px; color: var(--ccm-mute); margin-top: 2px; }
.ccm-order-subtotal { font-size: 13px; font-weight: 800; text-align: right; color: var(--ccm-navy); }

.ccm-order-totals { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--ccm-line); }
.ccm-total-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; color: var(--ccm-text); }
.ccm-total-row.ccm-grand-total {
  border-top: 1px solid var(--ccm-line);
  margin-top: 8px;
  padding-top: 12px;
  font-weight: 900;
  font-size: 18px;
  color: var(--ccm-navy);
}
.ccm-coupon-row span:first-child { color: var(--ccm-green); }

/* Shipping block — full-width vertical card list (used when 2+ rates).
 * Markup is rendered manually (not via wc_cart_totals_shipping_html which
 * wraps everything in <tr>/<th>/<td> that breaks inside a div sidebar). */
.ccm-shipping-block {
  padding: 12px 0 0;
  border-top: 1px solid var(--ccm-line);
  margin-top: 8px;
}
.ccm-shipping-block-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ccm-navy);
  margin-bottom: 8px;
}
.ccm-shipping-options {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ccm-shipping-option {
  margin: 0;
  padding: 0;
  background: #fff;
  border: 1px solid var(--ccm-line);
  border-radius: 8px;
  transition: border-color 0.15s;
}
.ccm-shipping-option.is-active,
.ccm-shipping-option:has(input:checked) { border-color: var(--ccm-navy); }
.ccm-shipping-option label {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin: 0 !important;
  font-size: 13px;
  font-weight: 600;
  color: var(--ccm-text);
  cursor: pointer;
}
.ccm-shipping-option.is-active label,
.ccm-shipping-option:has(input:checked) label { color: var(--ccm-navy); }
/* WooCommerce strips native radio rendering (appearance: none) → invisible.
 * Provide an explicit custom-rendered radio bullet. */
.ccm-shipping-option input[type=radio] {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 18px;
  height: 18px;
  border: 2px solid #cfd4dc;
  border-radius: 50%;
  background: #fff;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s;
}
.ccm-shipping-option input[type=radio]:checked {
  border-color: var(--ccm-navy);
}
.ccm-shipping-option input[type=radio]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  background: var(--ccm-navy);
  border-radius: 50%;
}
.ccm-shipping-option-label {
  flex: 1;
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.ccm-shipping-option-label .woocommerce-Price-amount {
  margin-left: auto;
  font-weight: 700;
  color: var(--ccm-navy);
}

/* ============================================================
   ONE-PAGE CHECKOUT — Shopify-style 50/50 split layout.
   Body gradient: left half white, right half gray (full viewport).
   Container 1200px centered, vertical divider between columns.
   ============================================================ */
body.ccm-onepage-checkout {
  background: linear-gradient(to right, #fff 50%, #f4f6f9 50%);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  margin: 0;
  min-height: 100vh;
}
body.ccm-onepage-checkout #wpadminbar { z-index: 9990 !important; }

/* Top bar across full viewport — sits above 50/50 split */
.ccm-onepage-topbar {
  background: #fff;
  border-bottom: 1px solid var(--ccm-line);
  position: relative;
  z-index: 3;
}
.ccm-onepage-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ccm-onepage-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.ccm-onepage-logo img { max-height: 40px; width: auto; display: block; }
.ccm-onepage-logo svg,
.ccm-onepage-logo .ccm-onepage-emblem { width: 40px; height: 40px; display: block; flex-shrink: 0; }
.ccm-onepage-logo-text {
  font-size: 20px;
  font-weight: 900;
  color: var(--ccm-navy);
  letter-spacing: 0.02em;
}
.ccm-onepage-logo .custom-logo-link img { max-height: 40px; width: auto; }
.ccm-onepage-logo .w-12 { width: 40px !important; height: 40px !important; }

/* Back-to-website button */
.ccm-onepage-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border: 1px solid var(--ccm-line);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ccm-navy);
  text-decoration: none;
  background: #fff;
  transition: background 0.15s, border-color 0.15s;
}
.ccm-onepage-back:hover {
  background: #f4f6f9;
  border-color: var(--ccm-navy);
}
.ccm-onepage-back svg { display: block; flex-shrink: 0; }

.ccm-onepage-main {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  position: relative;
}
/* Vertical divider line between columns */
.ccm-onepage-main::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--ccm-line);
  pointer-events: none;
  z-index: 1;
}
.ccm-onepage-left {
  background: #fff;
  padding: 40px 56px 60px 24px;
}
.ccm-onepage-left-inner {
  max-width: 540px;
  margin-left: auto;
}
.ccm-onepage-right {
  padding: 40px 24px 60px 56px;
  /* Background flows from body gradient, no own bg needed */
}
.ccm-onepage-right-inner {
  max-width: 540px;
  position: sticky;
  top: 48px;
}

/* In one-page mode: WC layout-grid disabled, sidebar relocated by JS */
body.ccm-onepage-checkout .ccm-checkout-layout {
  display: block !important;
  grid-template-columns: none !important;
}
body.ccm-onepage-checkout .ccm-checkout-main {
  padding: 0;
}

/* Sidebar inside right zone: drop card chrome (right zone already gray) */
body.ccm-onepage-checkout .ccm-checkout-sidebar {
  position: static !important;
  background: transparent;
  margin: 0;
  width: auto;
  max-width: none;
  top: auto;
}
body.ccm-onepage-checkout .ccm-checkout-summary-card {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Mobile: stack columns, gray bg becomes a separate card section */
@media (max-width: 900px) {
  body.ccm-onepage-checkout { background: #fff; }
  .ccm-onepage-main { grid-template-columns: 1fr; }
  .ccm-onepage-main::before { display: none; }
  .ccm-onepage-left { padding: 24px 16px; }
  .ccm-onepage-right { padding: 24px 16px; background: #f4f6f9; }
  .ccm-onepage-left-inner,
  .ccm-onepage-right-inner { max-width: none; margin: 0; position: static; }
}

/* ============================================================
   EXPRESS CHECKOUT BUTTONS (Shopify reference)
   Placeholder visual until real Stripe/PayPal Smart buttons configured.
   ============================================================ */
.ccm-express-checkout { margin-bottom: 28px; }
.ccm-express-label {
  text-align: center;
  font-size: 12px;
  color: var(--ccm-mute);
  margin: 0 0 10px;
}
.ccm-express-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.ccm-express-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 44px;
  border: none;
  border-radius: 8px;
  font-weight: 800;
  font-family: inherit;
  cursor: pointer;
  font-size: 16px;
  transition: opacity 0.15s ease;
  letter-spacing: 0.02em;
}
.ccm-express-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.ccm-express-shop {
  background: #5a31f4;
  color: #fff;
}
.ccm-express-shop-text { font-weight: 700; text-transform: lowercase; }
.ccm-express-paypal {
  background: #ffc439;
  color: #003087;
}
.ccm-express-paypal em { font-style: italic; color: #009cde; font-weight: 800; }
.ccm-express-gpay {
  background: #000;
  color: #fff;
}
.ccm-gpay-icon {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  background: linear-gradient(135deg, #4285f4 25%, #34a853 25% 50%, #fbbc04 50% 75%, #ea4335 75%);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}
.ccm-express-divider {
  display: flex;
  align-items: center;
  margin: 20px 0 0;
  color: var(--ccm-mute);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.ccm-express-divider::before,
.ccm-express-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ccm-line);
}
.ccm-express-divider span { padding: 0 14px; }

/* Section heads: Contact + sign in */
.ccm-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 0 0 14px;
}
.ccm-contact-section .ccm-section-title { margin: 0 !important; }
.ccm-signin-link {
  font-size: 13px;
  color: var(--ccm-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}
.ccm-signin-link:hover { color: var(--ccm-orange); }

/* Inline sign-in panel — flat, compact, single-row */
.ccm-signin-panel {
  margin-top: 12px;
  padding: 0;
  background: transparent;
  border: 0;
}
.ccm-signin-panel[hidden] { display: none !important; }

.ccm-inline-login {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 8px;
  align-items: end;
}
.ccm-inline-login-field { min-width: 0; }
.ccm-inline-login-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--ccm-mute);
  margin-bottom: 4px;
}
.ccm-inline-login-field input {
  width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--ccm-line);
  border-radius: 6px;
  font-size: 13px;
  background: #fff;
  box-sizing: border-box;
}
.ccm-inline-login-submit {
  height: 38px;
  padding: 0 18px;
  background: var(--ccm-navy);
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
.ccm-inline-login-submit:hover { background: #1a3a78; }
.ccm-inline-login-lost {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  font-size: 12px;
}
.ccm-inline-login-lost a { color: var(--ccm-orange); text-decoration: none; }
.ccm-inline-login-lost a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .ccm-inline-login { grid-template-columns: 1fr; }
}
.ccm-section-title-spaced { margin-top: 28px !important; }

/* Shipping method placeholder */
.ccm-shipping-method-placeholder {
  padding: 16px;
  background: #f4f6f9;
  border: 1px dashed var(--ccm-line);
  border-radius: 10px;
  font-size: 13px;
  color: var(--ccm-mute);
  text-align: center;
}

/* Discount code inline in sidebar */
.ccm-discount-row {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}
.ccm-discount-row input {
  flex: 1;
  height: 40px !important;
  padding: 0 12px !important;
  border: 1.5px solid var(--ccm-line) !important;
  border-radius: 8px !important;
  background: #fff !important;
  font-family: inherit !important;
  font-size: 13px !important;
  color: var(--ccm-text) !important;
}
.ccm-discount-apply {
  height: 40px;
  padding: 0 18px;
  background: #fff;
  border: 1.5px solid var(--ccm-line);
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  color: var(--ccm-mute);
  cursor: pointer;
  transition: all 0.15s ease;
}
.ccm-discount-apply:hover {
  background: var(--ccm-navy);
  color: #fff;
  border-color: var(--ccm-navy);
}

/* Payment subtitle */
.ccm-checkout-page #payment::before {
  content: 'All transactions are secure and encrypted.';
  display: block;
  font-size: 11px;
  color: var(--ccm-mute);
  margin: 0 0 12px;
}

/* Hide WC default coupon notice (we moved discount to sidebar) */
body.ccm-onepage-checkout .woocommerce-form-coupon-toggle,
body.ccm-onepage-checkout .checkout_coupon { display: none !important; }

/* Hide WC default "Billing details" h3 inside our Delivery section */
.ccm-checkout-page .woocommerce-billing-fields > h3,
.ccm-checkout-page #order_review_heading { display: none !important; }

/* Express buttons paused for later — hide until real gateway support */
.ccm-express-checkout { display: none !important; }

/* Hide WC privacy policy text in sidebar */
.ccm-checkout-page .woocommerce-privacy-policy-text,
body.ccm-onepage-checkout .woocommerce-privacy-policy-text { display: none !important; }

/* Contact section: dropped email field should look identical to other rows */
.ccm-contact-section .form-row {
  margin-top: 12px !important;
}
.ccm-contact-section #billing_email_field { display: block !important; width: 100% !important; max-width: none !important; }

/* ============================================================
   MY ACCOUNT PAGE
   ============================================================ */
body.ccm-myaccount-page {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

/* Theme renders an outer H1 "My Account" + the WC dashboard renders another
 * "My account" heading — keep only one (the WC one looks cleaner). */
body.ccm-myaccount-page .prose > h1,
body.ccm-myaccount-page h1.font-varsity,
body.ccm-myaccount-page .entry-title,
body.ccm-myaccount-page .page-title { display: none !important; }

/* Outer wrapper — give it room (theme's max-w-[860px] is too tight for 12-col grid) */
body.ccm-myaccount-page .max-w-\[860px\],
body.ccm-myaccount-page .woocommerce {
  max-width: 1100px !important;
  width: 100% !important;
}

/* Page heading "My account" rendered by WC dashboard */
body.ccm-myaccount-page .woocommerce > h1,
body.ccm-myaccount-page .woocommerce-MyAccount-content h2,
body.ccm-myaccount-page .ccc-dashboard-greeting h2 {
  text-align: left;
  font-size: 28px !important;
  font-weight: 900 !important;
  color: var(--ccm-navy) !important;
  margin: 0 0 24px !important;
}

/* Layout grid override — give nav 220px, content the rest.
 * Theme uses Tailwind grid-cols-12 + col-span-* that conflicts with our 2-col
 * grid; force explicit grid-column placement on aside/content + clear span. */
body.ccm-myaccount-page .woocommerce-account {
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
  gap: 28px !important;
  align-items: start;
}
body.ccm-myaccount-page .woocommerce-account > aside,
body.ccm-myaccount-page .woocommerce-account > .lg\:col-span-3 { grid-column: 1 / span 1 !important; grid-row: 1 !important; }
body.ccm-myaccount-page .woocommerce-account > .woocommerce-MyAccount-content,
body.ccm-myaccount-page .woocommerce-account > .lg\:col-span-9 { grid-column: 2 / span 1 !important; grid-row: 1 !important; }
@media (max-width: 768px) {
  body.ccm-myaccount-page .woocommerce-account { grid-template-columns: 1fr !important; }
  body.ccm-myaccount-page .woocommerce-account > aside,
  body.ccm-myaccount-page .woocommerce-account > .woocommerce-MyAccount-content { grid-column: 1 / -1 !important; }
}

/* Sidebar nav (WC default sets float:left which collapses width — override) */
body.ccm-myaccount-page .woocommerce-MyAccount-navigation {
  background: #fff;
  border: 1px solid var(--ccm-line);
  border-radius: 12px;
  padding: 8px;
  margin: 0;
  float: none !important;
  width: 100% !important;
  display: block !important;
}
body.ccm-myaccount-page .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
}
body.ccm-myaccount-page .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.ccm-myaccount-page .woocommerce-MyAccount-navigation ul li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.ccm-myaccount-page .woocommerce-MyAccount-navigation ul li::marker,
body.ccm-myaccount-page .woocommerce-MyAccount-navigation ul li::before {
  display: none !important;
  content: none !important;
}
body.ccm-myaccount-page .woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ccm-text);
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s;
}
body.ccm-myaccount-page .woocommerce-MyAccount-navigation ul li a:hover {
  background: var(--ccm-soft);
  color: var(--ccm-navy);
}
body.ccm-myaccount-page .woocommerce-MyAccount-navigation ul li.is-active a,
body.ccm-myaccount-page .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--dashboard.is-active a,
body.ccm-myaccount-page .woocommerce-MyAccount-navigation ul li[class*="is-active"] a {
  background: var(--ccm-navy);
  color: #fff;
}

/* Content panel */
body.ccm-myaccount-page .woocommerce-MyAccount-content {
  background: #fff;
  border: 1px solid var(--ccm-line);
  border-radius: 12px;
  padding: 28px;
}

/* Custom dashboard cards (rocket/CTA, stats, recent orders, quick links) */
body.ccm-myaccount-page .ccc-dashboard-cta,
body.ccm-myaccount-page .ccc-dashboard-stats,
body.ccm-myaccount-page .ccc-dashboard-recent,
body.ccm-myaccount-page .ccc-dashboard-quicklinks {
  margin: 0 0 20px;
}

/* Stats card — 4 cols, no cramping */
body.ccm-myaccount-page .ccc-dashboard-stats,
body.ccm-myaccount-page .ccc-stats-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
body.ccm-myaccount-page .ccc-stat-card {
  background: #fff;
  border: 1px solid var(--ccm-line);
  border-radius: 10px;
  padding: 16px 14px;
  text-align: left;
  min-width: 0;
}
body.ccm-myaccount-page .ccc-stat-card .ccc-stat-label,
body.ccm-myaccount-page .ccc-stat-card > div:first-child {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ccm-mute);
  margin-bottom: 6px;
  line-height: 1.3;
}
body.ccm-myaccount-page .ccc-stat-card .ccc-stat-value,
body.ccm-myaccount-page .ccc-stat-card strong {
  display: block;
  font-size: 20px !important;
  font-weight: 900 !important;
  color: var(--ccm-navy) !important;
  line-height: 1.1;
  margin-bottom: 4px;
  white-space: nowrap;
}
body.ccm-myaccount-page .ccc-stat-card .ccc-stat-foot,
body.ccm-myaccount-page .ccc-stat-card > div:last-child {
  font-size: 11px;
  color: var(--ccm-mute);
  line-height: 1.4;
}
@media (max-width: 640px) {
  body.ccm-myaccount-page .ccc-dashboard-stats,
  body.ccm-myaccount-page .ccc-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Recent orders row */
body.ccm-myaccount-page .ccc-dashboard-recent {
  background: #fff;
  border: 1px solid var(--ccm-line);
  border-radius: 12px;
  padding: 20px;
}
body.ccm-myaccount-page .ccc-recent-row {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 12px;
  background: var(--ccm-soft);
  border-radius: 8px;
  flex-wrap: wrap;
}
body.ccm-myaccount-page .ccc-recent-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--ccm-navy);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
}
body.ccm-myaccount-page .ccc-recent-info { flex: 1; min-width: 200px; }
body.ccm-myaccount-page .ccc-recent-id { font-size: 14px; font-weight: 800; color: var(--ccm-navy); margin-bottom: 2px; }
body.ccm-myaccount-page .ccc-recent-meta { font-size: 12px; color: var(--ccm-mute); }
body.ccm-myaccount-page .ccc-recent-actions { display: flex; gap: 8px; flex-wrap: wrap; }

/* Quick links cards — 3 cols, room to breathe */
body.ccm-myaccount-page .ccc-dashboard-quicklinks,
body.ccm-myaccount-page .ccc-quicklinks {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 12px !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
body.ccm-myaccount-page .ccc-quicklink-card,
body.ccm-myaccount-page .ccc-dashboard-quicklinks > * {
  background: #fff;
  border: 1px solid var(--ccm-line);
  border-radius: 10px;
  padding: 18px;
  text-decoration: none !important;
  transition: border-color 0.15s, transform 0.1s;
}
body.ccm-myaccount-page .ccc-quicklink-card:hover { border-color: var(--ccm-navy); transform: translateY(-1px); }
body.ccm-myaccount-page .ccc-quicklink-card a { text-decoration: none !important; }
body.ccm-myaccount-page .ccc-quicklink-icon { font-size: 22px; margin-bottom: 10px; }
body.ccm-myaccount-page .ccc-quicklink-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--ccm-navy);
  margin-bottom: 4px;
  display: block;
}
body.ccm-myaccount-page .ccc-quicklink-text {
  font-size: 12px;
  color: var(--ccm-mute);
  line-height: 1.4;
}
@media (max-width: 640px) {
  body.ccm-myaccount-page .ccc-dashboard-quicklinks,
  body.ccm-myaccount-page .ccc-quicklinks { grid-template-columns: 1fr !important; }
}

/* "Ready for first order" rocket card */
body.ccm-myaccount-page .ccc-dashboard-cta {
  background: var(--ccm-soft);
  border: 1px solid var(--ccm-line);
  border-radius: 12px;
  padding: 28px;
  text-align: center;
}
body.ccm-myaccount-page .ccc-dashboard-cta h3 { font-size: 18px; font-weight: 800; color: var(--ccm-navy); margin: 12px 0 6px; }
body.ccm-myaccount-page .ccc-dashboard-cta p { font-size: 13px; color: var(--ccm-mute); margin: 0 0 14px; }
body.ccm-myaccount-page .ccc-dashboard-cta a,
body.ccm-myaccount-page .ccc-dashboard-cta .button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  background: var(--ccm-orange);
  color: #fff !important;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none !important;
  transition: background 0.15s;
}
body.ccm-myaccount-page .ccc-dashboard-cta a:hover,
body.ccm-myaccount-page .ccc-dashboard-cta .button:hover { background: #d9750f; }

/* ============================================================
   THANK-YOU (ORDER RECEIVED) PAGE
   ============================================================ */
body.ccm-thankyou-page .woocommerce-order { max-width: none; }
body.ccm-thankyou-page .woocommerce-order > .woocommerce-notice,
body.ccm-thankyou-page .woocommerce-order-overview,
body.ccm-thankyou-page .woocommerce-order-details,
body.ccm-thankyou-page .woocommerce-customer-details { display: none !important; }
/* Theme renders a page H1 "Order received" — redundant with our hero.
 * Theme uses Tailwind-classed H1 inside .prose wrapper without an .entry-title
 * class; nuke any h1 in .prose ancestors that's NOT inside our hero. */
body.ccm-thankyou-page .prose > h1,
body.ccm-thankyou-page .entry-title,
body.ccm-thankyou-page .page-title,
body.ccm-thankyou-page h1.wp-block-post-title,
body.ccm-thankyou-page h1.font-varsity,
body.ccm-thankyou-page .cc-page-title { display: none !important; }
/* Theme prose may underline buttons — override */
body.ccm-thankyou-page a.ccm-thankyou-btn-primary,
body.ccm-thankyou-page a.ccm-thankyou-btn-secondary { text-decoration: none !important; }

.ccm-thankyou {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ccm-text);
}

/* Hero */
.ccm-thankyou-hero {
  text-align: center;
  margin-bottom: 32px;
}
.ccm-thankyou-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: #e8f5e9;
  color: #22a06b;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ccm-thankyou-eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ccm-orange);
  margin: 0 0 6px;
}
.ccm-thankyou-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--ccm-navy);
  margin: 0 0 8px;
  line-height: 1.15;
}
.ccm-thankyou-subtitle {
  font-size: 15px;
  color: var(--ccm-mute);
  margin: 0;
  line-height: 1.5;
}
.ccm-thankyou-subtitle strong { color: var(--ccm-navy); }

/* Meta strip */
.ccm-thankyou-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ccm-line);
  border: 1px solid var(--ccm-line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 24px;
}
.ccm-thankyou-meta-item {
  background: #fff;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ccm-thankyou-meta-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ccm-mute);
}
.ccm-thankyou-meta-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--ccm-navy);
}
.ccm-thankyou-meta-total { font-size: 18px; color: var(--ccm-orange); }

/* Notice (for pending/on-hold orders) */
.ccm-thankyou-notice {
  background: #fff8ed;
  border-left: 3px solid var(--ccm-orange);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 24px;
  font-size: 13px;
}
.ccm-thankyou-notice strong { display: block; color: var(--ccm-orange); margin-bottom: 4px; }
.ccm-thankyou-notice p { margin: 0; color: var(--ccm-text); line-height: 1.5; }

/* Two-column body */
.ccm-thankyou-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
@media (max-width: 760px) {
  .ccm-thankyou-grid { grid-template-columns: 1fr; }
  .ccm-thankyou-meta { grid-template-columns: repeat(2, 1fr); }
}

.ccm-thankyou-card {
  background: #fff;
  border: 1px solid var(--ccm-line);
  border-radius: 12px;
  padding: 24px;
}
.ccm-thankyou-card + .ccm-thankyou-card { margin-top: 16px; }
.ccm-thankyou-card-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--ccm-navy);
  margin: 0 0 18px;
}
.ccm-thankyou-card-subtitle {
  font-size: 13px;
  font-weight: 800;
  color: var(--ccm-navy);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 12px;
}

/* Items list */
.ccm-thankyou-items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ccm-thankyou-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ccm-line);
}
.ccm-thankyou-item:last-child { border-bottom: 0; padding-bottom: 16px; }
.ccm-thankyou-item:first-child { padding-top: 0; }

.ccm-thankyou-item-image {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--ccm-line);
}
.ccm-thankyou-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ccm-thankyou-item-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  background: var(--ccm-navy);
  color: #fff;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 800;
}
.ccm-thankyou-item-name {
  font-weight: 700;
  color: var(--ccm-navy);
  font-size: 14px;
  line-height: 1.3;
  margin-bottom: 4px;
}
.ccm-thankyou-item-meta {
  font-size: 12px;
  color: var(--ccm-mute);
  line-height: 1.5;
}
.ccm-thankyou-item-meta dl,
.ccm-thankyou-item-meta .wc-item-meta {
  margin: 0;
  padding: 0;
  list-style: none;
}
.ccm-thankyou-item-meta dt,
.ccm-thankyou-item-meta .wc-item-meta-label { display: inline; font-weight: 600; color: var(--ccm-text); }
.ccm-thankyou-item-meta dd,
.ccm-thankyou-item-meta .wc-item-meta p { display: inline; margin: 0; }
.ccm-thankyou-item-meta dd::after { content: ""; display: block; }
.ccm-thankyou-item-price {
  font-weight: 800;
  color: var(--ccm-navy);
  font-size: 14px;
  white-space: nowrap;
  align-self: start;
}

/* Totals */
.ccm-thankyou-totals {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 2px solid var(--ccm-line);
}
.ccm-thankyou-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ccm-text);
  padding: 6px 0;
}
.ccm-thankyou-total-row.is-grand {
  font-size: 18px;
  font-weight: 900;
  color: var(--ccm-navy);
  border-top: 1px solid var(--ccm-line);
  padding-top: 14px;
  margin-top: 6px;
}

/* Side cards */
.ccm-thankyou-side address {
  font-style: normal;
  font-size: 13px;
  color: var(--ccm-text);
  line-height: 1.6;
  margin: 0 0 10px;
}
.ccm-thankyou-contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ccm-mute);
  padding-top: 8px;
  border-top: 1px solid var(--ccm-line);
  margin-top: 8px;
}
.ccm-thankyou-contact-line svg { color: var(--ccm-orange); flex-shrink: 0; }

.ccm-thankyou-help {
  background: var(--ccm-soft);
}
.ccm-thankyou-help p {
  font-size: 13px;
  color: var(--ccm-mute);
  margin: 0 0 8px;
  line-height: 1.5;
}
.ccm-thankyou-help-link {
  display: inline-block;
  font-weight: 700;
  font-size: 14px;
  color: var(--ccm-orange);
  text-decoration: none;
}
.ccm-thankyou-help-link:hover { text-decoration: underline; }

/* Actions */
.ccm-thankyou-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.ccm-thankyou-btn-primary,
.ccm-thankyou-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
  border: 2px solid var(--ccm-navy);
}
.ccm-thankyou-btn-primary {
  background: var(--ccm-orange);
  color: #fff;
  border-color: var(--ccm-orange);
}
.ccm-thankyou-btn-primary:hover { background: #d9750f; border-color: #d9750f; color: #fff; }
.ccm-thankyou-btn-secondary {
  background: #fff;
  color: var(--ccm-navy);
}
.ccm-thankyou-btn-secondary:hover { background: var(--ccm-navy); color: #fff; }

@media (max-width: 600px) {
  .ccm-thankyou-title { font-size: 26px; }
  .ccm-thankyou { padding: 32px 16px 60px; }
  .ccm-thankyou-meta-item { padding: 12px 14px; }
  .ccm-thankyou-actions { flex-direction: column; }
  .ccm-thankyou-btn-primary,
  .ccm-thankyou-btn-secondary { width: 100%; }
}
