﻿/* WC Print Cart Redesign */
.woocommerce-cart .woocommerce {
  --wcpcr-accent: #ee7a2f;
  --wcpcr-accent-dark: #c95d18;
  --wcpcr-ink: #101828;
  --wcpcr-muted: #667085;
  --wcpcr-line: #e4e7ec;
  --wcpcr-panel: #ffffff;
  --wcpcr-soft: #f8fafc;
  --wcpcr-soft-warm: #fff7ed;
  --wcpcr-success: #137a4c;
  --wcpcr-danger: #d92d20;
  font-family: inherit;
}

.woocommerce-cart .woocommerce *,
.woocommerce-cart .woocommerce button,
.woocommerce-cart .woocommerce input,
.woocommerce-cart .woocommerce select,
.woocommerce-cart .woocommerce textarea {
  font-family: inherit;
}

.woocommerce-cart .entry-content > .woocommerce,
.woocommerce-cart .woocommerce {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px) {
  .woocommerce-cart .woocommerce {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) 420px;
  }

  .woocommerce-cart .woocommerce > .woocommerce-notices-wrapper,
  .woocommerce-cart .woocommerce > .woocommerce-message,
  .woocommerce-cart .woocommerce > .woocommerce-error,
  .woocommerce-cart .woocommerce > .woocommerce-info {
    grid-column: 1 / -1;
  }

  .woocommerce-cart .woocommerce > .woocommerce-cart-form {
    grid-column: 1;
  }

  .woocommerce-cart .woocommerce > .cart-collaterals {
    grid-column: 2;
    margin-top: 0;
    position: sticky;
    top: 24px;
  }
}

.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals .cart_totals {
  background: var(--wcpcr-panel);
  border: 1px solid var(--wcpcr-line);
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(16, 24, 40, 0.08);
}

.woocommerce-cart .woocommerce-cart-form {
  overflow: hidden;
}

.woocommerce-cart table.shop_table {
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

.woocommerce-cart table.shop_table thead th {
  background: #f3f5f8;
  border: 0;
  border-bottom: 1px solid var(--wcpcr-line);
  color: var(--wcpcr-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  padding: 15px 18px;
  text-transform: uppercase;
}

.woocommerce-cart table.cart th.product-name,
.woocommerce-cart table.cart th.product-price,
.woocommerce-cart table.cart th.product-subtotal {
  color: var(--wcpcr-ink) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.woocommerce-cart table.shop_table td {
  background: #ffffff;
  border: 0;
  border-bottom: 1px solid var(--wcpcr-line);
  color: var(--wcpcr-ink);
  padding: 22px 18px;
  vertical-align: top;
}

.woocommerce-cart table.shop_table tr:last-child td,
.woocommerce-cart table.shop_table td.actions {
  border-bottom: 0;
}

.woocommerce-cart table.cart th.product-remove,
.woocommerce-cart table.cart td.product-remove,
.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-remove {
  display: none !important;
}

.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-remove::before {
  display: none !important;
  content: "" !important;
}

.woocommerce-cart table.cart .product-thumbnail {
  width: 104px;
}

.woocommerce-cart table.cart td.product-thumbnail img {
  background: var(--wcpcr-soft);
  border: 1px solid var(--wcpcr-line);
  border-radius: 10px;
  height: 74px;
  object-fit: cover;
  padding: 8px;
  width: 74px;
}

.woocommerce-cart table.cart .product-name > a {
  color: var(--wcpcr-ink);
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  text-decoration: none;
}

.woocommerce-cart table.cart .product-name > a:hover {
  color: var(--wcpcr-accent-dark);
}

.woocommerce-cart .pc-cart-tag {
  background: var(--wcpcr-soft-warm);
  border: 1px solid #fed7aa;
  border-radius: 999px;
  color: var(--wcpcr-accent-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  margin-left: 8px;
  padding: 6px 9px;
}

.woocommerce-cart .pc-cart-config-box,
.woocommerce-cart table.cart .product-name dl.variation,
.woocommerce-cart table.cart .product-name .variation {
  background: var(--wcpcr-soft);
  border: 1px solid var(--wcpcr-line);
  border-radius: 10px;
  margin: 10px 0 0;
  padding: 14px;
}

.woocommerce-cart .pc-cart-config-grid {
  display: grid;
  gap: 12px 18px;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  margin-bottom: 12px;
}

.woocommerce-cart .pc-cart-config-label,
.woocommerce-cart table.cart .product-name dl.variation dt {
  color: #667085;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.woocommerce-cart .pc-cart-config-value,
.woocommerce-cart table.cart .product-name dl.variation dd,
.woocommerce-cart table.cart .product-name dl.variation dd p {
  color: var(--wcpcr-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.woocommerce-cart .pc-cart-upload-badge {
  background: #dff7e9;
  border-radius: 999px;
  color: var(--wcpcr-success);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 10px;
  padding: 7px 12px;
}

.woocommerce-cart .pc-cart-upload-missing {
  background: #fffaeb;
  color: #b54708;
}

.woocommerce-cart .pc-cart-pricing {
  align-items: center;
  border-top: 1px dashed #d0d5dd;
  color: var(--wcpcr-muted);
  display: flex;
  font-size: 12px;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 10px;
}

.woocommerce-cart .pc-cart-pricing {
  display: none !important;
}

.woocommerce-cart .wcpcr-gst-summary {
  align-items: center;
  border-top: 1px dashed #d0d5dd;
  color: var(--wcpcr-muted);
  display: flex;
  font-size: 12px;
  gap: 12px;
  justify-content: flex-start;
  margin-top: 10px;
  padding-top: 10px;
}

.woocommerce-cart .wcpcr-gst-summary-total {
  color: var(--wcpcr-ink);
}

.woocommerce-cart .wcpcr-gst-summary strong,
.woocommerce-cart .wcpcr-gst-summary .amount {
  color: var(--wcpcr-ink) !important;
  font-size: 14px;
  font-weight: 700;
}

.woocommerce-cart .pc-cart-total {
  color: var(--wcpcr-ink);
  font-weight: 700;
}

.woocommerce-cart .pc-cart-total strong {
  color: var(--wcpcr-ink);
  font-size: 15px;
  font-weight: 700;
}

.woocommerce-cart .pc-cart-instructions {
  background: #ffffff;
  border: 1px dashed #d0d5dd;
  border-radius: 8px;
  color: #475467;
  font-size: 12px;
  font-style: normal;
  margin-top: 10px;
  padding: 9px 11px;
}

.woocommerce-cart table.cart .product-price,
.woocommerce-cart table.cart .product-subtotal {
  color: var(--wcpcr-ink);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.woocommerce-cart table.cart th.product-quantity,
.woocommerce-cart table.cart td.product-quantity {
  display: none;
}

.woocommerce-cart .wcpcr-remove-order-wrap {
  margin-top: 12px;
}

.woocommerce-cart .wcpcr-remove-order,
.woocommerce-cart .woocommerce a.wcpcr-remove-order {
  align-items: center;
  background: #fff1f0;
  border: 1px solid #fecdca;
  border-radius: 8px !important;
  color: var(--wcpcr-danger) !important;
  display: inline-flex;
  font-size: 13px !important;
  font-weight: 700 !important;
  height: auto !important;
  justify-content: center;
  line-height: 1.2 !important;
  min-height: 36px;
  padding: 9px 12px;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  width: auto !important;
}

.woocommerce-cart .wcpcr-remove-order:hover,
.woocommerce-cart .woocommerce a.wcpcr-remove-order:hover {
  background: var(--wcpcr-danger);
  border-color: var(--wcpcr-danger);
  color: #ffffff !important;
}

.woocommerce-cart table.cart .product-subtotal {
  color: var(--wcpcr-ink);
}

.woocommerce-cart .quantity .qty {
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  color: var(--wcpcr-ink);
  font-size: 15px;
  height: 42px;
  text-align: center;
  width: 70px;
}

.woocommerce-cart table.shop_table td.actions {
  background: #fbfcfd;
  padding: 16px;
}

.woocommerce-cart table.shop_table td.actions .coupon {
  align-items: center;
  display: flex;
  gap: 10px;
}

.woocommerce-cart table.shop_table td.actions .coupon .input-text {
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  box-shadow: none;
  color: var(--wcpcr-ink);
  min-height: 42px;
  min-width: 220px;
  padding: 10px 12px;
}

.woocommerce-cart table.shop_table td.actions .button,
.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button {
  border: 0;
  border-radius: 9px;
  box-shadow: none;
  font-weight: 700;
  min-height: 44px;
  padding: 12px 18px;
}

.woocommerce-cart table.shop_table td.actions .button {
  background: #101828;
  color: #ffffff;
}

.woocommerce-cart table.shop_table td.actions .button:hover {
  background: #344054;
}

.woocommerce-cart table.shop_table td.actions .button[name="update_cart"] {
  background: #eef2f6;
  color: #475467;
}

.woocommerce-cart table.shop_table td.actions .button[name="update_cart"]:not(:disabled):hover {
  background: #dbe2ea;
  color: var(--wcpcr-ink);
}

.woocommerce-cart .cart-collaterals {
  margin-top: 28px;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  float: none;
  padding: 22px;
  width: min(100%, 460px);
}

@media (min-width: 992px) {
  .woocommerce-cart .cart-collaterals .cart_totals {
    width: 100%;
  }
}

.woocommerce-cart .cart_totals h2 {
  color: var(--wcpcr-ink);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 18px;
}

.woocommerce-cart .cart_totals table.shop_table {
  background: transparent;
  border: 0;
  margin-bottom: 18px;
}

.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td {
  background: #f8fafc;
  border: 0;
  border-bottom: 1px solid #edf0f3;
  color: var(--wcpcr-ink);
  font-size: 14px;
  padding: 15px 0;
  vertical-align: top;
}

.woocommerce-cart .cart_totals tr.cart-subtotal {
  display: none;
}

.woocommerce-cart .cart_totals table.shop_table th {
  font-weight: 700;
  padding-left: 16px;
  width: 34%;
}

.woocommerce-cart .cart_totals table.shop_table td {
  padding-right: 16px;
  text-align: left;
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
  background: var(--wcpcr-soft-warm);
  border-bottom: 0;
  color: var(--wcpcr-ink);
  font-size: 17px;
}

.woocommerce-cart .cart_totals .order-total .amount {
  color: var(--wcpcr-ink);
  font-size: 20px;
  font-weight: 700;
}

.woocommerce-cart .woocommerce .amount {
  color: var(--wcpcr-ink) !important;
}

.woocommerce-cart .cart_totals .wc-proceed-to-checkout {
  padding: 0;
}

.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button {
  background: var(--wcpcr-accent);
  display: flex;
  justify-content: center;
  margin: 0;
  width: 100%;
}

.woocommerce-cart .cart_totals .wc-proceed-to-checkout a.checkout-button:hover {
  background: var(--wcpcr-accent-dark);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .woocommerce-cart .woocommerce-cart-form {
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item {
    background: var(--wcpcr-panel);
    border: 1px solid var(--wcpcr-line);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(16, 24, 40, 0.07);
    display: block;
    margin-bottom: 16px;
    padding: 14px;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td {
    border: 0;
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    text-align: right !important;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-quantity {
    display: none !important;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-remove {
    display: none !important;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name {
    display: block;
    text-align: left !important;
  }

  .woocommerce-cart table.shop_table_responsive tr.cart_item td.product-thumbnail {
    justify-content: center;
  }

  .woocommerce-cart .pc-cart-config-grid {
    grid-template-columns: 1fr 1fr;
  }

  .woocommerce-cart .pc-cart-pricing {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .woocommerce-cart .wcpcr-gst-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .woocommerce-cart table.shop_table td.actions .coupon {
    align-items: stretch;
    flex-direction: column;
  }

  .woocommerce-cart table.shop_table td.actions .coupon .input-text,
  .woocommerce-cart table.shop_table td.actions .button,
  .woocommerce-cart table.shop_table td.actions .button[name="update_cart"] {
    width: 100%;
  }

  .woocommerce-cart .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
  }
}

.woocommerce-checkout .wcpcr-auth-page {
  --wcpcr-accent: #ee7a2f;
  --wcpcr-accent-dark: #c95d18;
  --wcpcr-ink: #101828;
  --wcpcr-muted: #667085;
  --wcpcr-line: #e4e7ec;
  --wcpcr-panel: #ffffff;
  --wcpcr-soft: #f8fafc;
  color: var(--wcpcr-ink);
  font-family: inherit;
  margin: 0 auto;
  max-width: 1040px;
}

.woocommerce-checkout .wcpcr-auth-page *,
.woocommerce-checkout .wcpcr-auth-page input,
.woocommerce-checkout .wcpcr-auth-page button {
  font-family: inherit;
}

.woocommerce-checkout .wcpcr-auth-heading {
  margin-bottom: 22px;
}

.woocommerce-checkout .wcpcr-auth-heading h2 {
  color: var(--wcpcr-ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 6px;
}

.woocommerce-checkout .wcpcr-auth-heading p {
  color: var(--wcpcr-muted);
  font-size: 15px;
  margin: 0;
}

.woocommerce-checkout .wcpcr-auth-grid {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.woocommerce-checkout .wcpcr-auth-card {
  background: var(--wcpcr-panel);
  border: 1px solid var(--wcpcr-line);
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(16, 24, 40, 0.08);
  padding: 24px;
}

.woocommerce-checkout .wcpcr-auth-card h3 {
  color: var(--wcpcr-ink);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 18px;
}

.woocommerce-checkout .wcpcr-auth-card label {
  color: #344054;
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 7px;
}

.woocommerce-checkout .wcpcr-auth-card input {
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  box-sizing: border-box;
  color: var(--wcpcr-ink);
  font-size: 15px;
  height: 46px;
  margin: 0 0 15px;
  padding: 10px 12px;
  width: 100%;
}

.woocommerce-checkout .wcpcr-auth-card input:focus {
  border-color: var(--wcpcr-accent);
  box-shadow: 0 0 0 3px rgba(238, 122, 47, 0.16);
  outline: none;
}

.woocommerce-checkout .wcpcr-auth-row {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.woocommerce-checkout .wcpcr-auth-card button {
  background: var(--wcpcr-accent);
  border: 0;
  border-radius: 9px;
  color: #ffffff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  min-height: 46px;
  padding: 12px 18px;
  width: 100%;
}

.woocommerce-checkout .wcpcr-auth-card button:hover {
  background: var(--wcpcr-accent-dark);
}

.woocommerce-checkout .wcpcr-password-field {
  align-items: center;
  display: flex;
  margin: 0 0 15px;
  position: relative;
}

.woocommerce-checkout .wcpcr-auth-card .wcpcr-password-field input {
  margin: 0;
  padding-right: 48px;
}

.woocommerce-checkout .wcpcr-auth-card .wcpcr-password-toggle {
  align-items: center;
  background: transparent !important;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  cursor: pointer;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  min-height: 38px;
  padding: 0;
  position: absolute;
  right: 5px;
  top: 4px;
  width: 38px;
}

.woocommerce-checkout .wcpcr-auth-card .wcpcr-password-toggle:hover,
.woocommerce-checkout .wcpcr-auth-card .wcpcr-password-toggle:focus {
  background: #f2f4f7 !important;
  outline: none;
}

.woocommerce-checkout .wcpcr-eye-icon {
  background-color: #667085;
  content: "";
  display: block;
  height: 20px;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 5c5.2 0 9.3 4.1 10.6 6.4.2.4.2.8 0 1.2C21.3 14.9 17.2 19 12 19S2.7 14.9 1.4 12.6c-.2-.4-.2-.8 0-1.2C2.7 9.1 6.8 5 12 5Zm0 2C7.9 7 4.5 10.1 3.4 12c1.1 1.9 4.5 5 8.6 5s7.5-3.1 8.6-5C19.5 10.1 16.1 7 12 7Zm0 2.2A2.8 2.8 0 1 1 12 14.8 2.8 2.8 0 0 1 12 9.2Zm0 2A.8.8 0 1 0 12 12.8.8.8 0 0 0 12 11.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='black' d='M12 5c5.2 0 9.3 4.1 10.6 6.4.2.4.2.8 0 1.2C21.3 14.9 17.2 19 12 19S2.7 14.9 1.4 12.6c-.2-.4-.2-.8 0-1.2C2.7 9.1 6.8 5 12 5Zm0 2C7.9 7 4.5 10.1 3.4 12c1.1 1.9 4.5 5 8.6 5s7.5-3.1 8.6-5C19.5 10.1 16.1 7 12 7Zm0 2.2A2.8 2.8 0 1 1 12 14.8 2.8 2.8 0 0 1 12 9.2Zm0 2A.8.8 0 1 0 12 12.8.8.8 0 0 0 12 11.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
  width: 20px;
}

.woocommerce-checkout .wcpcr-auth-card .wcpcr-password-toggle.is-visible .wcpcr-eye-icon {
  background: var(--wcpcr-accent-dark);
}

.woocommerce-checkout .wcpcr-password-strength {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: -6px 0 15px;
}

.woocommerce-checkout .wcpcr-password-strength-bar {
  background: #edf0f3;
  border-radius: 999px;
  display: block;
  height: 6px;
  overflow: hidden;
}

.woocommerce-checkout .wcpcr-password-strength-bar span {
  background: #d0d5dd;
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: width 0.2s ease, background 0.2s ease;
  width: 0;
}

.woocommerce-checkout .wcpcr-password-strength-text {
  color: var(--wcpcr-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.woocommerce-checkout .wcpcr-password-strength.is-weak .wcpcr-password-strength-bar span {
  background: #d92d20;
}

.woocommerce-checkout .wcpcr-password-strength.is-fair .wcpcr-password-strength-bar span {
  background: #f79009;
}

.woocommerce-checkout .wcpcr-password-strength.is-good .wcpcr-password-strength-bar span {
  background: #2e90fa;
}

.woocommerce-checkout .wcpcr-password-strength.is-strong .wcpcr-password-strength-bar span {
  background: #17b26a;
}

.woocommerce-checkout .wcpcr-auth-card .wcpcr-captcha-input {
  max-width: 180px;
}

.woocommerce-checkout .wcpcr-consent-message {
  background: var(--wcpcr-soft);
  border: 1px solid var(--wcpcr-line);
  border-radius: 8px;
  color: #475467;
  font-size: 12px;
  line-height: 1.55;
  margin: 18px 0 0;
  padding: 12px;
}

.woocommerce-checkout .wcpcr-consent-message p {
  margin: 0 0 9px;
}

.woocommerce-checkout .wcpcr-consent-message p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .woocommerce-checkout .wcpcr-auth-heading h2 {
    font-size: 24px;
  }

  .woocommerce-checkout .wcpcr-auth-grid,
  .woocommerce-checkout .wcpcr-auth-row {
    grid-template-columns: 1fr;
  }

  .woocommerce-checkout .wcpcr-auth-card {
    padding: 20px;
  }
}

.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

/* v1.5.2: Grid layout MUST be on the OUTER .woocommerce container, not on form.checkout
 * Modern WC renders #order_review_heading, #order_review, AND coupon toggles as
 * SIBLINGS of the form, not children. So we apply the grid one level up. */
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 400px;
  align-items: start;
}

/* Form itself becomes a "subgrid" — its children (customer_details, login toggles)
 * flow into the parent grid via display:contents. */
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout {
  display: contents;
}

.woocommerce-checkout:not(.woocommerce-order-received) #customer_details {
  display: grid;
  gap: 24px;
  grid-column: 1;
  grid-row: 1 / span 10;  /* span all rows so right column flows freely */
}

.woocommerce-checkout:not(.woocommerce-order-received) #customer_details .col-1,
.woocommerce-checkout:not(.woocommerce-order-received) #customer_details .col-2,
.woocommerce-checkout:not(.woocommerce-order-received) #order_review,
.woocommerce-checkout:not(.woocommerce-order-received) #order_review_heading {
  float: none;
  width: 100%;
}

.woocommerce-checkout:not(.woocommerce-order-received) #customer_details .col-1,
.woocommerce-checkout:not(.woocommerce-order-received) #customer_details .col-2,
.woocommerce-checkout:not(.woocommerce-order-received) #order_review,
.woocommerce-checkout:not(.woocommerce-order-received) #order_review_heading {
  background: #ffffff;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  box-shadow: 0 16px 38px rgba(16, 24, 40, 0.08);
}

.woocommerce-checkout:not(.woocommerce-order-received) #customer_details .col-1,
.woocommerce-checkout:not(.woocommerce-order-received) #customer_details .col-2,
.woocommerce-checkout:not(.woocommerce-order-received) #order_review {
  padding: 24px;
}

/* All right-column items go in column 2; CSS auto-stacks them by source order.
 * Selectors are intentionally permissive about parent — these elements can end
 * up either inside form.checkout OR as siblings in .woocommerce, depending on
 * theme template behavior. We catch both cases. */
.woocommerce-checkout:not(.woocommerce-order-received) .wcpcr-account-pill,
.woocommerce-checkout:not(.woocommerce-order-received) .wcpcr-login-toggle,
.woocommerce-checkout:not(.woocommerce-order-received) .wcpcr-login-form-wrap,
.woocommerce-checkout:not(.woocommerce-order-received) .wcpcr-coupon-toggle,
.woocommerce-checkout:not(.woocommerce-order-received) .wcpcr-coupon-form-wrap,
.woocommerce-checkout:not(.woocommerce-order-received) #order_review_heading,
.woocommerce-checkout:not(.woocommerce-order-received) #order_review {
  grid-column: 2;
}

/* Note: items inside form.checkout (login toggle, login form) ALSO need to be in col 2.
 * Because form.checkout uses display:contents, its children promote to grid items of
 * the parent .woocommerce grid — so the same grid-column: 2 rule applies. */

.woocommerce-checkout:not(.woocommerce-order-received) #order_review_heading {
  color: #101828;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 -1px;  /* overlap into order_review for seamless connection */
  padding: 18px 22px 12px;
  border-bottom: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.woocommerce-checkout:not(.woocommerce-order-received) #order_review {
  margin-top: 0;
  position: sticky;
  top: 24px;
  border-top: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* v1.5.4: When JS has merged #order_review_heading inside #order_review,
 * the "sibling" rules above (border-top:none, radius:0) no longer apply —
 * the review box is now the ONLY panel and needs full rounded corners.
 * JS adds .wcpcr-merged to #order_review after the DOM move. */
.woocommerce-checkout:not(.woocommerce-order-received) #order_review.wcpcr-merged {
  border-top: 1px solid #e4e7ec;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

/* Strip the standalone-box styles from heading now that it lives inside
 * the review panel — background, border, shadow come from the parent box. */
.woocommerce-checkout:not(.woocommerce-order-received) #order_review.wcpcr-merged #order_review_heading {
  background: transparent;
  border: none;
  border-bottom: 1px solid #e4e7ec;
  box-shadow: none;
  border-radius: 0;
  margin: 0 0 4px;
  padding: 18px 22px 14px;
}

.woocommerce-checkout:not(.woocommerce-order-received) #customer_details h3,
.woocommerce-checkout:not(.woocommerce-order-received) #customer_details h2,
.woocommerce-checkout:not(.woocommerce-order-received) #order_review h3 {
  color: #101828;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 18px;
}

.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-shipping-fields__field-wrapper {
  display: flow-root;
}

.woocommerce-checkout:not(.woocommerce-order-received) form.checkout label {
  color: #344054;
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 7px;
}

.woocommerce-checkout:not(.woocommerce-order-received) form.checkout .form-row {
  margin: 0 0 16px;
  padding: 0;
}

.woocommerce-checkout:not(.woocommerce-order-received) form.checkout input.input-text,
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout textarea,
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout select,
.woocommerce-checkout:not(.woocommerce-order-received) .select2-container--default .select2-selection--single {
  background: #ffffff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  color: #101828;
  font-size: 15px;
}

.woocommerce-checkout:not(.woocommerce-order-received) form.checkout input.input-text,
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout select,
.woocommerce-checkout:not(.woocommerce-order-received) .select2-container--default .select2-selection--single {
  height: 46px;
}

.woocommerce-checkout:not(.woocommerce-order-received) form.checkout input.input-text,
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout textarea,
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout select {
  padding: 10px 12px;
}

.woocommerce-checkout:not(.woocommerce-order-received) .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #101828;
  line-height: 44px;
  padding-left: 12px;
  padding-right: 32px;
}

.woocommerce-checkout:not(.woocommerce-order-received) .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px;
  right: 8px;
}

.woocommerce-checkout:not(.woocommerce-order-received) form.checkout textarea {
  min-height: 110px;
  resize: vertical;
}

.woocommerce-checkout:not(.woocommerce-order-received) form.checkout input.input-text:focus,
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout textarea:focus,
.woocommerce-checkout:not(.woocommerce-order-received) form.checkout select:focus,
.woocommerce-checkout:not(.woocommerce-order-received) .select2-container--default.select2-container--focus .select2-selection--single,
.woocommerce-checkout:not(.woocommerce-order-received) .select2-container--default.select2-container--open .select2-selection--single {
  border-color: #ee7a2f;
  box-shadow: 0 0 0 3px rgba(238, 122, 47, 0.16);
  outline: none;
}

.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table {
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0 0 18px;
}

.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table th,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table td {
  background: #f8fafc;
  border: 0;
  border-bottom: 1px solid #edf0f3;
  color: #101828;
  font-size: 14px;
  padding: 14px 16px;
}

.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table th {
  font-weight: 700;
}

.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table .order-total th,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table .order-total td {
  background: #fff7ed;
  font-size: 17px;
}

.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table .amount {
  color: #101828;
  font-weight: 700;
}

.woocommerce-checkout:not(.woocommerce-order-received) #payment {
  background: transparent;
  border-radius: 0;
}

.woocommerce-checkout:not(.woocommerce-order-received) #payment ul.payment_methods {
  border-bottom: 1px solid #e4e7ec;
  padding: 0 0 16px;
}

.woocommerce-checkout:not(.woocommerce-order-received) #payment div.payment_box {
  background: #f8fafc;
  color: #475467;
}

.woocommerce-checkout:not(.woocommerce-order-received) #payment div.payment_box::before {
  border-bottom-color: #f8fafc;
}

.woocommerce-checkout:not(.woocommerce-order-received) #payment .place-order {
  padding: 16px 0 0;
}

.woocommerce-checkout:not(.woocommerce-order-received) #place_order {
  background: #ee7a2f;
  border: 0;
  border-radius: 9px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  min-height: 48px;
  width: 100%;
}

.woocommerce-checkout:not(.woocommerce-order-received) #place_order:hover {
  background: #c95d18;
}

.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-additional-fields,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-shipping-fields {
  margin-top: 24px;
}

.woocommerce-checkout:not(.woocommerce-order-received) #ship-to-different-address {
  margin-bottom: 12px;
}

.woocommerce-checkout:not(.woocommerce-order-received) #ship-to-different-address label,
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-shipping-fields__checkbox {
  align-items: center;
  color: #101828;
  display: inline-flex;
  font-size: 16px;
  font-weight: 700;
  gap: 10px;
}

.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-shipping-fields__checkbox input {
  accent-color: #ee7a2f;
  height: 18px;
  margin: 0;
  width: 18px;
}

@media (max-width: 980px) {
  /* v1.7.13: Switch to flex on mobile for proper visual reordering.
   * Required order on mobile: Login → Form → Product overview (#order_review).
   * The DOM has form (#customer_details) FIRST and the login (rendered
   * inside #order_review by our hook) appears in the right column on
   * desktop. On mobile we want login on top, then the form, then
   * the order review with line items and Place Order. We use flex
   * `order:` to achieve this without DOM reshuffle. */
  .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    gap: 16px;
  }

  .woocommerce-checkout:not(.woocommerce-order-received) #customer_details,
  .woocommerce-checkout:not(.woocommerce-order-received) #order_review_heading,
  .woocommerce-checkout:not(.woocommerce-order-received) #order_review,
  .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce > .wcpcr-account-pill,
  .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce > .wcpcr-login-toggle,
  .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce > .wcpcr-login-form-wrap,
  .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce > .wcpcr-checkout-login {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    box-sizing: border-box;
  }

  /* CRITICAL mobile reorder: explicit flex order so it doesn't matter
   * where the elements live in the DOM. */
  .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce > .wcpcr-account-pill,
  .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce > .wcpcr-checkout-login,
  .woocommerce-checkout:not(.woocommerce-order-received) .woocommerce > .wcpcr-login-toggle {
    order: 1;          /* TOP: Login or Welcome pill */
    margin: 0 0 8px;
  }
  .woocommerce-checkout:not(.woocommerce-order-received) #customer_details {
    order: 2;          /* MIDDLE: Form */
  }
  .woocommerce-checkout:not(.woocommerce-order-received) #order_review_heading {
    order: 3;          /* "Your Order" heading */
    margin-top: 12px;
  }
  .woocommerce-checkout:not(.woocommerce-order-received) #order_review {
    order: 4;          /* BOTTOM: Product overview + Place order */
    position: static;
  }

  /* On mobile, the form already takes full width of single column.
   * Make sure the form is unstyled wrapper, not a card that doubles
   * up borders inside our gray background. */
  .woocommerce-checkout:not(.woocommerce-order-received) form.checkout {
    width: 100%;
    box-sizing: border-box;
  }
}


/* =====================================================================
 * v1.5.0 — CHECKOUT PAGE
 * ===================================================================== */

/* Hide native WC Subtotal row in cart + checkout */
.woocommerce-cart .cart-subtotal,
.woocommerce-checkout .cart-subtotal {
    display: none !important;
}

/* Hide stray default WC toggles + forms outside our containers */
.woocommerce-checkout > .woocommerce-form-login-toggle,
.woocommerce-checkout > .woocommerce-form-coupon-toggle,
.woocommerce-checkout > form.woocommerce-form-login,
.woocommerce-checkout > form.checkout_coupon {
    display: none !important;
}

/* Login button — orange, prominent */
.wcpcr-login-toggle {
    margin: 0 0 12px;
}
.wcpcr-login-btn {
    display: block;
    width: 100%;
    background: #e07b39;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.18s ease;
    box-shadow: 0 2px 6px rgba(224, 123, 57, 0.25);
}
.wcpcr-login-btn:hover {
    background: #c4642a;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(224, 123, 57, 0.30);
}
.wcpcr-login-btn[aria-expanded="true"] {
    border-radius: 8px 8px 0 0;
}

/* Login form panel */
.wcpcr-login-form-wrap {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 16px;
    margin: 0 0 16px;
}
.wcpcr-login-form-wrap form {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
}
.wcpcr-login-form-wrap .button {
    background: #e07b39 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 10px 18px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}
.wcpcr-login-form-wrap .button:hover {
    background: #c4642a !important;
}
.wcpcr-login-form-wrap .lost_password a {
    color: #c4642a;
    font-size: 12px;
}

/* My Account pill (logged-in) */
.wcpcr-account-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #fdf3ec;
    border: 1px solid #f5d4b3;
    border-radius: 8px;
    padding: 10px 14px;
    margin: 0 0 16px;
}
.wcpcr-account-greeting {
    color: #2d2d2d;
    font-size: 13px;
    font-weight: 500;
}
.wcpcr-account-btn {
    display: inline-block;
    background: #e07b39;
    color: #fff !important;
    text-decoration: none !important;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.18s ease;
    white-space: nowrap;
}
.wcpcr-account-btn:hover {
    background: #c4642a;
    color: #fff !important;
}

/* Coupon button — soft orange dashed */
.wcpcr-coupon-toggle {
    margin: 0 0 16px;
}
.wcpcr-coupon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: #fdf3ec;
    color: #c4642a;
    border: 1px dashed #e07b39;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease;
}
.wcpcr-coupon-btn:hover {
    background: #fae5d2;
}
.wcpcr-coupon-icon {
    font-size: 14px;
}
.wcpcr-coupon-btn[aria-expanded="true"] {
    border-radius: 8px 8px 0 0;
}

.wcpcr-coupon-form-wrap {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 16px;
    margin: 0 0 16px;
}
.wcpcr-coupon-form-wrap form {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
}
.wcpcr-coupon-form-wrap input[type="text"] {
    width: 100% !important;
    padding: 8px 12px !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    font-size: 14px !important;
}
.wcpcr-coupon-form-wrap .button {
    background: #e07b39 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 9px 16px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    margin-top: 8px !important;
}
.wcpcr-coupon-form-wrap .button:hover {
    background: #c4642a !important;
}

/* v1.5.1: Place login/coupon/account toggles in right column (grid col 2)
 * Use explicit grid-row order so they appear above #order_review_heading.
 * The original cart-redesign grid uses:
 *   #customer_details      → col 1, rows 1-2
 *   #order_review_heading  → col 2, row 1
 *   #order_review          → col 2, row 2
 *
 * We change to:
 *   #customer_details      → col 1, rows 1-4
 *   .wcpcr-login-toggle    → col 2, row 1
 *   .wcpcr-login-form-wrap → col 2, row 2
 *   .wcpcr-coupon-toggle   → col 2, row 3
 *   .wcpcr-coupon-form-wrap→ col 2, row 4
 *   #order_review_heading  → col 2, row 5
 *   #order_review          → col 2, row 6
 */
/* v1.5.2: REMOVED v1.5.1 grid rules targeting form.checkout > X — those couldn't
 * work because #order_review_heading, #order_review, and coupon toggles are NOT
 * children of form.checkout in modern WC. They're siblings, inside .woocommerce.
 * Grid is now applied to .woocommerce parent — see lines ~808-870. */

/* Order review table — clean styling */
.woocommerce-checkout #order_review .shop_table {
    background: transparent;
    border: none;
    margin: 16px 0;
    border-collapse: separate;
    border-spacing: 0;
}
.woocommerce-checkout #order_review .shop_table thead th {
    background: #f8fafc;
    border-bottom: 1px solid #e4e7ec;
    padding: 12px 8px;
    font-weight: 600;
}
.woocommerce-checkout #order_review .shop_table tbody td,
.woocommerce-checkout #order_review .shop_table tbody th {
    padding: 12px 8px;
    border-bottom: 1px solid #f1f3f5;
}
.woocommerce-checkout #order_review .shop_table tfoot th,
.woocommerce-checkout #order_review .shop_table tfoot td {
    padding: 10px 8px;
    border-bottom: 1px solid #f1f3f5;
}
.woocommerce-checkout #order_review .shop_table tfoot tr.order-total th,
.woocommerce-checkout #order_review .shop_table tfoot tr.order-total td {
    background: #fff7ed;
    border-top: 2px solid #f5d4b3;
    border-bottom: none;
    padding: 16px 8px;
    font-weight: 700;
}
.woocommerce-checkout #order_review .shop_table tfoot tr.order-total .amount {
    color: #c4642a;
    font-size: 18px;
}

/* Rename "Subtotal" header to "Amount" via CSS */
.woocommerce-checkout #order_review table.shop_table thead th.product-total {
    font-size: 0 !important;
}
.woocommerce-checkout #order_review table.shop_table thead th.product-total::after {
    content: 'Amount';
    font-size: 14px;
    font-weight: 600;
    color: #2d2d2d;
}

/* Place Order button — orange CTA */
.woocommerce-checkout #payment .place-order .button,
.woocommerce-checkout #place_order {
    width: 100%;
    background: #e07b39 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 14px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: none !important;
    letter-spacing: 0;
    box-shadow: 0 2px 8px rgba(224, 123, 57, 0.25);
    transition: all 0.18s ease;
}
.woocommerce-checkout #place_order:hover {
    background: #c4642a !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(224, 123, 57, 0.30);
}

/* Billing details panel */
.woocommerce-checkout #customer_details {
    background: transparent;
}
/* v1.5.1: Removed duplicate panel CSS on .woocommerce-billing-fields and
 * .woocommerce-additional-fields — those wrappers are INSIDE .col-1 and .col-2
 * which already have panel styling from the cart-redesign rules above.
 * Adding panels here created double-border / nested-panel look. */
/* v1.5.3: Labels 14px / weight 600 (was 13px) — match product page typography */
.woocommerce-checkout .form-row label {
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #2d2d2d;
    margin-bottom: 6px !important;
    display: block;
}
.woocommerce-checkout .form-row input[type="text"],
.woocommerce-checkout .form-row input[type="email"],
.woocommerce-checkout .form-row input[type="tel"],
.woocommerce-checkout .form-row input[type="password"] {
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    height: auto !important;
}

/* v1.5.3: Native <select> alignment fix — match input padding/line-height */
.woocommerce-checkout .form-row select {
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    height: 42px !important;
    background-position: right 12px center !important;
}

/* v1.5.3: Select2 dropdown alignment — same height as native inputs */
.woocommerce-checkout .form-row .select2-container .select2-selection--single {
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    height: 42px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    padding: 0 !important;
}
.woocommerce-checkout .form-row .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 40px !important;
    padding: 0 12px !important;
    color: #2d2d2d !important;
}
.woocommerce-checkout .form-row .select2-container .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    right: 8px !important;
}

.woocommerce-checkout .form-row input:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row .select2-container--open .select2-selection--single {
    border-color: #e07b39 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(224, 123, 57, 0.15) !important;
}

/* v1.5.3: After JS moves #order_review_heading INSIDE #order_review,
 * style it to render naturally as part of the panel's first row.
 * Strip its standalone panel styles. */
.woocommerce-checkout #order_review > #order_review_heading {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    grid-column: auto !important;
}

/* v1.5.1: Pincode validation feedback states */
.woocommerce-checkout .form-row.pc-pincode-checking input[type="text"] {
    border-color: #e07b39 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e07b39' stroke-width='2'%3E%3Cpath d='M21 12a9 9 0 1 1-6.219-8.56'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 16px !important;
    padding-right: 36px !important;
}
.woocommerce-checkout .form-row.pc-pincode-ok input[type="text"] {
    border-color: #0a6d2a !important;
    background-color: #f7fdf9 !important;
}
.woocommerce-checkout .form-row.pc-pincode-error input[type="text"] {
    border-color: #c4302b !important;
    background-color: #fef5f5 !important;
}
.pc-pincode-feedback {
    margin-top: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}
.pc-pincode-feedback .pc-pincode-icon {
    flex-shrink: 0;
    font-weight: 700;
}
.pc-pincode-ok .pc-pincode-feedback {
    background: #e7f7ee;
    color: #0a6d2a;
    border: 1px solid #c5e8d2;
}
.pc-pincode-error .pc-pincode-feedback {
    background: #fef5f5;
    color: #a02622;
    border: 1px solid #f5c5c3;
    flex-direction: column;
    align-items: flex-start;
}
.pc-pincode-hint {
    margin-top: 4px;
    color: #c4642a;
    font-size: 12px;
    font-style: italic;
}

/* =====================================================================
 * v1.5.0 — ORDER RECEIVED (THANK YOU) PAGE
 * ===================================================================== */

/* Hide WC's default thank-you message — we render our own hero */
.woocommerce-order > .woocommerce-notice--success.woocommerce-thankyou-order-received {
    display: none;
}

/* v1.6.0: Hide ALL default WC order-received content below the hero panel.
 *
 * The WCPCR hero (rendered by WCPCR_Order_Received::render_hero via the
 * woocommerce_before_thankyou action) shows order #, dispatch ETA, email,
 * and next-steps — that's the customer-facing summary. WC then renders its
 * default content below: an overview list, a gateway-specific paragraph
 * ("Pay with cash upon delivery."), the order details table, and the
 * billing/shipping addresses panel. All four are duplicates of info the
 * customer already has (in the hero, the confirmation email, and My Account).
 *
 * We target only DIRECT children of .woocommerce-order so the hero (which is
 * also a direct child) stays visible. The `> p` rule catches the gateway
 * thankyou text — it's an unclassed <p> that wpautop emits from
 * WC_Gateway_*::thankyou_page(). */
body.woocommerce-order-received .woocommerce-order > ul.woocommerce-order-overview,
body.woocommerce-order-received .woocommerce-order > ul.woocommerce-thankyou-order-details,
body.woocommerce-order-received .woocommerce-order > section.woocommerce-order-details,
body.woocommerce-order-received .woocommerce-order > section.woocommerce-customer-details,
body.woocommerce-order-received .woocommerce-order > .woocommerce-bacs-bank-details,
body.woocommerce-order-received .woocommerce-order > p {
    display: none !important;
}

/* Hero panel */
.wcpcr-thankyou-hero {
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 70%);
    border: 1px solid #f5d4b3;
    border-radius: 16px;
    padding: 40px 32px;
    margin: 0 0 32px;
    text-align: center;
}

.wcpcr-hero-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
}
.wcpcr-hero-icon svg {
    width: 100%;
    height: 100%;
}

.wcpcr-hero-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #101828 !important;
    margin: 0 0 8px !important;
}

.wcpcr-hero-subtitle {
    font-size: 16px;
    color: #667085;
    margin: 0 0 28px;
}

.wcpcr-hero-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 0 0 32px;
    text-align: left;
}

.wcpcr-hero-info-card {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wcpcr-hero-info-label {
    font-size: 11px;
    color: #667085;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}

.wcpcr-hero-info-value {
    font-size: 16px;
    color: #101828;
    font-weight: 700;
    word-break: break-word;
}

.wcpcr-hero-next-steps {
    text-align: left;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 24px;
}

.wcpcr-hero-next-steps h3 {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #101828;
}

.wcpcr-hero-next-steps ol {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 0;
}

.wcpcr-hero-next-steps li {
    counter-increment: step;
    padding: 10px 0 10px 36px;
    position: relative;
    font-size: 14px;
    color: #2d2d2d;
    line-height: 1.5;
    border-bottom: 1px solid #f1f3f5;
}

.wcpcr-hero-next-steps li:last-child {
    border-bottom: none;
}

.wcpcr-hero-next-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 8px;
    width: 26px;
    height: 26px;
    background: #fdf3ec;
    color: #c4642a;
    font-size: 12px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f5d4b3;
}

.wcpcr-step-icon {
    margin-right: 4px;
}

/* Order details (below hero) */
.woocommerce-order .woocommerce-order-details,
.woocommerce-order .woocommerce-customer-details {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
}

.woocommerce-order .woocommerce-order-details h2,
.woocommerce-order .woocommerce-column__title {
    font-size: 18px;
    font-weight: 700;
    color: #101828;
    margin: 0 0 16px;
}

.woocommerce-order .woocommerce-order-details table.shop_table {
    width: 100%;
    border: none;
    margin: 0;
}
.woocommerce-order .woocommerce-order-details table.shop_table th,
.woocommerce-order .woocommerce-order-details table.shop_table td {
    padding: 10px 8px;
    border-bottom: 1px solid #f1f3f5;
    font-size: 14px;
}
.woocommerce-order .woocommerce-order-details table.shop_table thead th {
    background: #f8fafc;
    font-weight: 600;
}
.woocommerce-order .woocommerce-order-details table.shop_table tfoot tr.order-total th,
.woocommerce-order .woocommerce-order-details table.shop_table tfoot tr.order-total td {
    background: #fff7ed;
    border-top: 2px solid #f5d4b3;
    padding: 14px 8px;
    font-weight: 700;
}
.woocommerce-order .woocommerce-order-details table.shop_table tfoot tr.order-total .amount {
    color: #c4642a;
    font-size: 16px;
}

/* =====================================================================
 * v1.5.0 — MY ACCOUNT PAGES
 * ===================================================================== */

/* Account layout — sidebar nav + content panel
 *
 * v1.6.1: Multiple selectors + !important because Hello Elementor / Elementor
 * Pro and similar builders often apply their own .woocommerce styles with
 * higher specificity, collapsing the layout to single-column. The :has()
 * selector at the end is the robust fallback — it triggers whenever the
 * .woocommerce element is acting as a My Account container, regardless of
 * what body class is or isn't applied. */
.woocommerce-account .woocommerce,
body.woocommerce-account .woocommerce,
body.woocommerce-page.woocommerce-account .woocommerce,
.woocommerce:has(> .woocommerce-MyAccount-navigation) {
    display: grid !important;
    grid-template-columns: 240px minmax(0, 1fr) !important;
    gap: 24px !important;
    align-items: start !important;
    max-width: 1180px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (max-width: 768px) {
    .woocommerce-account .woocommerce,
    body.woocommerce-account .woocommerce,
    .woocommerce:has(> .woocommerce-MyAccount-navigation) {
        grid-template-columns: 1fr !important;
    }
}

/* Account navigation (left sidebar) */
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 8px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    display: block;
    padding: 10px 14px;
    color: #2d2d2d;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
    margin: 2px 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: #f8fafc;
    color: #c4642a;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a {
    background: #fdf3ec;
    color: #c4642a;
    font-weight: 600;
}

/* Account content panel */
.woocommerce-account .woocommerce-MyAccount-content {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 32px;
    min-height: 400px;
}

.woocommerce-account .woocommerce-MyAccount-content > h2,
.woocommerce-account .woocommerce-MyAccount-content > h3 {
    margin: 0 0 16px;
    font-size: 22px;
    font-weight: 700;
    color: #101828;
}

/* Dashboard */
.wcpcr-account-dashboard {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wcpcr-dashboard-greeting h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #101828 !important;
    margin: 0 0 6px !important;
}

.wcpcr-dashboard-greeting p {
    color: #667085;
    margin: 0;
    font-size: 14px;
}

/* v1.6.4: Hide WooCommerce's default dashboard greeting text.
 *
 * The WC template `myaccount/dashboard.php` outputs two unclassed <p> tags
 * BEFORE the woocommerce_account_dashboard action fires:
 *   1. "Hello {name} (not {name}? Log out)"
 *   2. "From your account dashboard you can view your recent orders, manage
 *       your shipping and billing addresses, and edit your password..."
 *
 * Removing the action callback in PHP doesn't suppress these — they're
 * static HTML inside the template wrapper itself. Without overriding the
 * full template (fragile across WC updates) or stripping content with
 * output buffers, hiding via CSS is the cleanest fix.
 *
 * We target ONLY the direct-child <p> tags of .woocommerce-MyAccount-content
 * that appear BEFORE our .wcpcr-account-dashboard, so we don't accidentally
 * hide notice messages or content rendered by other plugins. The :has()
 * selector confirms our custom dashboard is present (= dashboard tab, not
 * orders/addresses/etc.) before hiding anything. */
.woocommerce-MyAccount-content:has(> .wcpcr-account-dashboard) > p {
    display: none !important;
}

.wcpcr-dashboard-latest-order {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wcpcr-latest-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wcpcr-latest-header h3 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #101828 !important;
}

.wcpcr-view-all-link {
    color: #c4642a;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
}

.wcpcr-view-all-link:hover {
    color: #e07b39;
    text-decoration: underline;
}

.wcpcr-latest-card {
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 60%);
    border: 1px solid #f5d4b3;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wcpcr-latest-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
}

.wcpcr-latest-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wcpcr-latest-label {
    font-size: 11px;
    color: #667085;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.4px;
}

.wcpcr-latest-row strong,
.wcpcr-latest-row span {
    color: #101828;
    font-size: 15px;
}

.wcpcr-latest-action {
    display: inline-block;
    background: #e07b39;
    color: #fff !important;
    text-decoration: none !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: background 0.18s ease;
    align-self: flex-start;
}

.wcpcr-latest-action:hover {
    background: #c4642a;
    color: #fff !important;
}

/* Quick action cards grid */
.wcpcr-quick-actions h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #101828;
}

.wcpcr-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.wcpcr-action-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    text-decoration: none !important;
    color: #101828 !important;
    transition: all 0.15s ease;
}

.wcpcr-action-card:hover {
    border-color: #f5d4b3;
    background: #fdf3ec;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(224, 123, 57, 0.08);
}

.wcpcr-action-icon {
    font-size: 22px;
    line-height: 1;
}

.wcpcr-action-title {
    font-size: 14px;
    font-weight: 700;
    color: #101828;
}

.wcpcr-action-meta {
    font-size: 12px;
    color: #667085;
}

/* Status badges */
.wcpcr-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid transparent;
    line-height: 1.4;
    white-space: nowrap;
}

/* Orders list table */
.woocommerce-account .woocommerce-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

.woocommerce-account .woocommerce-orders-table thead th {
    background: #f8fafc;
    padding: 12px;
    border-bottom: 1px solid #e4e7ec;
    font-weight: 600;
    color: #101828;
    text-align: left;
}

.woocommerce-account .woocommerce-orders-table tbody td {
    padding: 14px 12px;
    border-bottom: 1px solid #f1f3f5;
    vertical-align: middle;
}

.woocommerce-account .woocommerce-orders-table tbody tr:hover {
    background: #f8fafc;
}

.woocommerce-account .woocommerce-orders-table .button {
    display: inline-block;
    background: #e07b39 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: background 0.15s ease !important;
}

.woocommerce-account .woocommerce-orders-table .button:hover {
    background: #c4642a !important;
}

/* Edit address page */
.woocommerce-account .u-columns.col2-set,
.woocommerce-account .woocommerce-Address {
    background: #f8fafc;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
}

.woocommerce-account .woocommerce-Address-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 12px;
}

.woocommerce-account .woocommerce-Address-title h3 {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #101828 !important;
}

.woocommerce-account .woocommerce-Address-title .edit {
    background: #e07b39;
    color: #fff;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.woocommerce-account .woocommerce-Address-title .edit:hover {
    background: #c4642a;
    color: #fff;
}

/* Edit account form */
.woocommerce-account form.woocommerce-EditAccountForm,
.woocommerce-account form.edit-account {
    background: transparent;
}

.woocommerce-account form .form-row input[type="text"],
.woocommerce-account form .form-row input[type="email"],
.woocommerce-account form .form-row input[type="password"],
.woocommerce-account form .form-row input[type="tel"],
.woocommerce-account form .form-row select {
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    width: 100% !important;
}

.woocommerce-account form .form-row input:focus,
.woocommerce-account form .form-row select:focus {
    border-color: #e07b39 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(224, 123, 57, 0.15) !important;
}

.woocommerce-account form .button[type="submit"],
.woocommerce-account form button[type="submit"] {
    background: #e07b39 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 24px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    transition: background 0.18s ease;
}

.woocommerce-account form .button[type="submit"]:hover {
    background: #c4642a !important;
}

/* Login form on My Account login page
 *
 * v1.7.7: We now override WC's form-login.php template entirely with our
 * own HTML (in /templates/myaccount/), so legacy WC form classes don't
 * appear on the page. These rules only fire as a defensive fallback if,
 * for any reason, the template override isn't loaded — they style the
 * stock WC form into a single-column card.
 */

/* Default narrow container for non-shell login (legacy / fallback only) */
.woocommerce-account:not(.logged-in):not(.wcpcr-auth-page) .woocommerce {
    grid-template-columns: 1fr;
    max-width: 480px;
}

.woocommerce-account:not(.wcpcr-auth-page) .woocommerce form.woocommerce-form-login,
.woocommerce-account:not(.wcpcr-auth-page) .woocommerce form.woocommerce-form-register {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 32px;
}

.woocommerce-account:not(.wcpcr-auth-page) .woocommerce h2 {
    font-size: 22px;
    font-weight: 700;
    color: #101828;
    margin: 0 0 20px;
}

.woocommerce-account .woocommerce-form__label-for-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #2d2d2d;
}

.woocommerce-account .lost_password a,
.woocommerce-account .woocommerce-LostPassword a {
    color: #c4642a;
    font-size: 13px;
    text-decoration: underline;
}

/* ============================================================
 * View Order page (v1.7.0)
 * Custom redesign of My Account → View Order, replacing WC's
 * default order_details_table. Print-shop tailored: status
 * timeline, item cards with downloadable design files, retention
 * notices, and a help card.
 * ============================================================ */

.wcpcr-view-order {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 880px;
}

/* ── Header ─────────────────────────────────────────────────── */
.wcpcr-vo-header {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.wcpcr-vo-back {
    display: inline-flex;
    align-items: center;
    color: #667085;
    font-size: 13px;
    text-decoration: none;
    margin-bottom: 12px;
    transition: color 0.15s;
}
.wcpcr-vo-back:hover { color: #c4642a; }

.wcpcr-vo-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.wcpcr-vo-title {
    font-size: 26px;
    font-weight: 700;
    color: #101828;
    margin: 0;
}
.wcpcr-vo-num {
    color: #c4642a;
    font-weight: 700;
}
.wcpcr-vo-meta {
    color: #667085;
    font-size: 14px;
    margin: 8px 0 0;
}

.wcpcr-vo-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    background: #f3f4f6;
    line-height: 1.4;
    white-space: nowrap;
}

/* ── Status timeline ───────────────────────────────────────── */
.wcpcr-vo-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    gap: 8px;
    overflow-x: auto;
}
.wcpcr-vo-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
    min-width: 80px;
    position: relative;
    text-align: center;
}
.wcpcr-vo-step-marker {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    background: #f9fafb;
    color: #98a2b3;
    border: 2px solid #e4e7ec;
    z-index: 2;
    position: relative;
}
.wcpcr-vo-step-label {
    font-size: 12px;
    color: #667085;
    line-height: 1.3;
    max-width: 110px;
}
.wcpcr-vo-step-connector {
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e4e7ec;
    z-index: 1;
}

.wcpcr-vo-step--done .wcpcr-vo-step-marker {
    background: #c4642a;
    border-color: #c4642a;
    color: #fff;
}
.wcpcr-vo-step--done .wcpcr-vo-step-label { color: #344054; }
.wcpcr-vo-step--done .wcpcr-vo-step-connector { background: #c4642a; }

.wcpcr-vo-step--current .wcpcr-vo-step-marker {
    background: #fff;
    border-color: #c4642a;
    color: #c4642a;
    box-shadow: 0 0 0 4px rgba(196, 100, 42, 0.15);
}
.wcpcr-vo-step--current .wcpcr-vo-step-label {
    color: #c4642a;
    font-weight: 700;
}

.wcpcr-vo-timeline--terminal {
    justify-content: center;
    color: #b42318;
    font-weight: 600;
}

@media (max-width: 600px) {
    .wcpcr-vo-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .wcpcr-vo-step {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 12px;
        min-width: 0;
        width: 100%;
    }
    .wcpcr-vo-step-marker { margin-bottom: 0; }
    .wcpcr-vo-step-label { max-width: none; }
    .wcpcr-vo-step-connector { display: none; }
}

/* ── Sections ─────────────────────────────────────────────── */
.wcpcr-vo-section {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.wcpcr-vo-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #101828;
    margin: 0 0 16px;
}

/* ── Item cards ───────────────────────────────────────────── */
.wcpcr-vo-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.wcpcr-vo-item-card {
    border: 1px solid #f2f4f7;
    border-radius: 10px;
    padding: 18px 20px;
    background: #fcfcfd;
}
.wcpcr-vo-item-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}
.wcpcr-vo-item-name {
    font-size: 15px;
    font-weight: 700;
    color: #101828;
    margin-bottom: 8px;
}
.wcpcr-vo-item-options {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 4px 16px;
}
.wcpcr-vo-item-options li {
    font-size: 13px;
    color: #475467;
}
.wcpcr-vo-item-options strong {
    color: #344054;
    font-weight: 500;
}
.wcpcr-vo-item-price {
    font-size: 15px;
    font-weight: 700;
    color: #101828;
    white-space: nowrap;
}

/* ── File rows ────────────────────────────────────────────── */
.wcpcr-vo-item-files {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e4e7ec;
}
.wcpcr-vo-files-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
    color: #344054;
    flex-wrap: wrap;
    gap: 8px;
}
.wcpcr-vo-file-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
}
.wcpcr-vo-file-row + .wcpcr-vo-file-row {
    border-top: 1px solid #f2f4f7;
}
.wcpcr-vo-file-icon { font-size: 18px; }
.wcpcr-vo-file-name {
    flex: 1;
    color: #101828;
    word-break: break-all;
}
.wcpcr-vo-file-name a {
    color: #c4642a;
    text-decoration: underline;
}
.wcpcr-vo-file-side {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    background: #f2f4f7;
    color: #475467;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.wcpcr-vo-download-btn {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: #c4642a;
    color: #fff !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.15s;
}
.wcpcr-vo-download-btn:hover {
    background: #a8541f;
    color: #fff !important;
}
.wcpcr-vo-file-expired {
    color: #98a2b3;
    font-size: 12px;
    font-style: italic;
}

/* Retention notices */
.wcpcr-vo-retention-notice {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}
.wcpcr-vo-retention-notice--warn {
    background: #fef0c7;
    color: #b54708;
}
.wcpcr-vo-retention-notice--expired {
    background: #f2f4f7;
    color: #667085;
}

/* Design instructions */
.wcpcr-vo-item-notes {
    margin-top: 14px;
    padding: 12px 14px;
    background: #f9fafb;
    border-left: 3px solid #c4642a;
    border-radius: 6px;
    font-size: 13px;
    color: #475467;
    line-height: 1.5;
}
.wcpcr-vo-item-notes em {
    font-style: italic;
    color: #344054;
}

/* ── Summary table ────────────────────────────────────────── */
.wcpcr-vo-summary-table {
    width: 100%;
    border-collapse: collapse;
}
.wcpcr-vo-summary-table th,
.wcpcr-vo-summary-table td {
    padding: 10px 0;
    text-align: left;
    font-size: 14px;
}
.wcpcr-vo-summary-table th {
    color: #667085;
    font-weight: 500;
    width: 50%;
}
.wcpcr-vo-summary-table td {
    color: #101828;
    text-align: right;
}
.wcpcr-vo-summary-table tr + tr th,
.wcpcr-vo-summary-table tr + tr td {
    border-top: 1px solid #f2f4f7;
}
.wcpcr-vo-summary-total th {
    color: #101828;
    font-weight: 700;
    font-size: 15px;
}
.wcpcr-vo-summary-total td {
    color: #101828;
    font-weight: 700;
    font-size: 16px;
}

/* ── Bottom grid (delivery + help) ────────────────────────── */
.wcpcr-vo-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
@media (max-width: 600px) {
    .wcpcr-vo-bottom-grid { grid-template-columns: 1fr; }
}
.wcpcr-vo-address address {
    font-style: normal;
    line-height: 1.6;
    color: #344054;
    font-size: 14px;
}
.wcpcr-vo-phone {
    margin: 12px 0 0;
    color: #475467;
    font-size: 14px;
}
.wcpcr-vo-help p {
    color: #475467;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 12px;
}
.wcpcr-vo-help-link {
    color: #c4642a;
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
}
.wcpcr-vo-help-link:hover { text-decoration: underline; }

/* ============================================================
 * Addresses listing page (v1.7.1)
 * Two-card layout replacing WC default's nested-box appearance.
 * ============================================================ */

.wcpcr-addresses-intro {
    margin: 0 0 20px;
}
.wcpcr-addresses-intro h2 {
    font-size: 22px;
    font-weight: 700;
    color: #101828;
    margin: 0 0 6px;
}
.wcpcr-addresses-intro p {
    color: #667085;
    font-size: 14px;
    margin: 0;
}

.wcpcr-addresses-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 700px) {
    .wcpcr-addresses-grid { grid-template-columns: 1fr; }
}

.wcpcr-address-card {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 24px 26px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: box-shadow 0.15s, border-color 0.15s;
}
.wcpcr-address-card:hover {
    border-color: #f5d4b3;
    box-shadow: 0 4px 12px rgba(196, 100, 42, 0.08);
}
.wcpcr-address-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.wcpcr-address-card-head h3 {
    font-size: 17px;
    font-weight: 700;
    color: #101828;
    margin: 0;
}
.wcpcr-address-same-pill {
    display: inline-flex;
    align-items: center;
    background: #ecfdf3;
    color: #027a48;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.wcpcr-address-card-body {
    flex: 1;
    margin-bottom: 18px;
}
.wcpcr-address-card-body address {
    font-style: normal;
    line-height: 1.7;
    color: #344054;
    font-size: 14px;
    margin: 0;
}
.wcpcr-address-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #475467;
    font-size: 14px;
    margin-top: 10px;
    word-break: break-all;
}
.wcpcr-address-contact-icon {
    color: #c4642a;
    font-size: 14px;
}
.wcpcr-address-empty {
    color: #98a2b3;
    font-style: italic;
    font-size: 14px;
    margin: 0;
}
.wcpcr-address-card-foot {
    border-top: 1px solid #f2f4f7;
    padding-top: 16px;
    text-align: right;
}
.wcpcr-address-edit-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    background: #fff;
    color: #c4642a !important;
    border: 1.5px solid #c4642a;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.15s;
}
.wcpcr-address-edit-btn:hover {
    background: #c4642a;
    color: #fff !important;
}

/* ============================================================
 * Orders list polish (v1.7.1)
 * Slightly warmer table header + custom total format styles.
 * ============================================================ */

.woocommerce-account .woocommerce-orders-table thead th {
    background: #fef6ed;
    color: #7a3e15;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-bottom: 1px solid #f5d4b3;
}
.woocommerce-account .woocommerce-orders-table tbody td {
    vertical-align: middle;
}
.wcpcr-orders-count {
    color: #667085;
    font-size: 13px;
}
.wcpcr-orders-total {
    color: #101828;
    font-weight: 600;
}

/* ============================================================
 * Order Summary padding fix (v1.7.1)
 * Default cells were flush against borders; add proper inset.
 * ============================================================ */

.wcpcr-vo-summary-table th,
.wcpcr-vo-summary-table td {
    padding: 14px 18px !important;
}
.wcpcr-vo-summary-table {
    border: 1px solid #f2f4f7;
    border-radius: 8px;
    overflow: hidden;
}

/* ============================================================
 * Download Invoice button on View Order header (v1.7.3)
 * ============================================================ */
.wcpcr-vo-invoice-link {
    margin: 14px 0 0;
}
.wcpcr-vo-invoice-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #fff;
    color: #c4642a !important;
    border: 1.5px solid #c4642a;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.15s;
}
.wcpcr-vo-invoice-btn:hover {
    background: #c4642a;
    color: #fff !important;
}

/* Credit Note button styling — red accent (v1.7.4)
 * Sits alongside the invoice button in the View Order page header. */
.wcpcr-vo-cn-btn {
    color: #b42318 !important;
    border-color: #b42318 !important;
}
.wcpcr-vo-cn-btn:hover {
    background: #b42318 !important;
    color: #fff !important;
}


/* ============================================================
 * Login / Register / Lost-password page redesign (v1.7.7)
 *
 * v1.7.7 approach: WC's stock form-login.php / form-lost-password.php
 * are overridden by our own templates in /templates/myaccount/. The
 * markup is fully under our control — no inherited form styling, no
 * theme conflicts. CSS targets a clean .wcpcr-auth-* namespace.
 * ============================================================ */

/* v1.7.10: Break out of Hello Elementor's 800px content-size constraint.
 *
 * Discovery: the WP global stylesheet sets:
 *   --wp--style--global--content-size: 800px;
 *   .is-layout-constrained > :where(:not(.alignfull)) { max-width: var(--wp--style--global--content-size); }
 *
 * That 800px constraint applies to <main id="content"> and friends, capping
 * everything inside the my-account page. Our 1100px shell can't fit, so it
 * collapses to 800px and looks off-center because Hello Elementor positions
 * <main> with a non-symmetric margin pattern.
 *
 * Fix: force the entire ancestor chain (main, .page-content, .woocommerce)
 * to full viewport width on auth pages so our shell controls its own width
 * and centering. */
body.wcpcr-auth-page main#content,
body.wcpcr-auth-page .site-main,
body.wcpcr-auth-page .page-content,
body.wcpcr-auth-page .woocommerce-account .woocommerce,
body.wcpcr-auth-page.woocommerce-account .woocommerce {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
    box-sizing: border-box;
}

/* The two-column shell — now fully responsible for its own width + centering */
.wcpcr-auth-shell {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 32px;
    max-width: 1100px;
    width: calc(100% - 32px);
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 30px;
    margin-bottom: 60px;
    box-sizing: border-box;
    align-items: stretch;
}
.wcpcr-auth-shell--single {
    grid-template-columns: 1fr;
    max-width: 480px;
}
@media (max-width: 860px) {
    .wcpcr-auth-shell {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 480px;
    }
}

/* ── Form card (left column on login/register, sole card on lost-password) */
.wcpcr-auth-form-card {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 12px;
    padding: 36px 38px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.05);
}
@media (max-width: 600px) {
    .wcpcr-auth-form-card { padding: 26px 22px; }
}

.wcpcr-auth-title {
    font-size: 26px;
    font-weight: 700;
    color: #101828;
    margin: 0 0 6px;
    line-height: 1.2;
}
.wcpcr-auth-subtitle {
    color: #667085;
    font-size: 14px;
    margin: 0 0 24px;
    line-height: 1.5;
}

/* Form */
.wcpcr-auth-form {
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.wcpcr-field {
    margin-bottom: 16px;
}
.wcpcr-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #344054;
    margin-bottom: 6px;
}
.wcpcr-required {
    color: #d92d20;
    font-weight: 600;
}
.wcpcr-field input[type="text"],
.wcpcr-field input[type="email"],
.wcpcr-field input[type="password"] {
    width: 100%;
    padding: 11px 14px;
    font-size: 14px;
    border: 1.5px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #101828;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}
.wcpcr-field input:focus {
    border-color: #c4642a;
    box-shadow: 0 0 0 3px rgba(196, 100, 42, 0.12);
    outline: none;
}

/* Remember me + forgot password row */
.wcpcr-form-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 18px;
    flex-wrap: wrap;
    gap: 8px;
}
.wcpcr-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    color: #475467;
    cursor: pointer;
    user-select: none;
}
.wcpcr-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #c4642a;
}
.wcpcr-link-muted {
    color: #c4642a;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}
.wcpcr-link-muted:hover {
    text-decoration: underline;
}

/* Help text below register fields when password is auto-generated */
.wcpcr-help-text {
    font-size: 13px;
    color: #667085;
    background: #f9fafb;
    border-left: 3px solid #c4642a;
    padding: 10px 12px;
    border-radius: 4px;
    margin: 0 0 18px;
    line-height: 1.5;
}

/* Submit button */
.wcpcr-auth-btn {
    width: 100%;
    background: #c4642a;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
    margin-top: 4px;
}
.wcpcr-auth-btn:hover {
    background: #a8541f;
    color: #fff;
}

/* Switch link below form */
.wcpcr-auth-switch {
    margin: 22px 0 0;
    padding-top: 18px;
    border-top: 1px solid #f2f4f7;
    font-size: 14px;
    color: #475467;
    text-align: center;
}
.wcpcr-auth-switch a {
    color: #c4642a;
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
}
.wcpcr-auth-switch a:hover {
    text-decoration: underline;
}

/* "OR" divider */
.wcpcr-auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 18px 0 14px;
    color: #98a2b3;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
}
.wcpcr-auth-divider::before,
.wcpcr-auth-divider::after {
    content: "";
    flex: 1;
    border-top: 1px solid #e4e7ec;
}
.wcpcr-auth-divider span {
    padding: 0 12px;
}

/* Continue as guest button */
.wcpcr-auth-guest-btn {
    display: block;
    text-align: center;
    padding: 11px 22px;
    border: 1.5px solid #d0d5dd;
    border-radius: 8px;
    color: #344054;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s;
    background: #fff;
}
.wcpcr-auth-guest-btn:hover {
    border-color: #c4642a;
    color: #c4642a;
    background: #fef6ed;
}
.wcpcr-auth-guest-note {
    margin: 10px 0 0;
    color: #98a2b3;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

/* ── Right column: Benefits ───────────────────────────── */
.wcpcr-auth-benefits {
    background: linear-gradient(135deg, #fef6ed 0%, #fcefe0 100%);
    border: 1px solid #f5d4b3;
    border-radius: 12px;
    padding: 36px 38px;
    display: flex;
    flex-direction: column;
}
@media (max-width: 600px) {
    .wcpcr-auth-benefits { padding: 28px 24px; }
}

.wcpcr-benefits-title {
    font-size: 18px;
    font-weight: 700;
    color: #7a3e15;
    margin: 0 0 24px;
}
.wcpcr-benefits-list {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
}
.wcpcr-benefit {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.wcpcr-benefit-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 1px 3px rgba(196, 100, 42, 0.12);
}
.wcpcr-benefit-body {
    display: block;
}
.wcpcr-benefit-heading {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #7a3e15;
    margin-bottom: 2px;
}
.wcpcr-benefit-text {
    display: block;
    font-size: 13px;
    color: #6b4423;
    line-height: 1.5;
}

/* "Create Account" CTA at bottom of benefits panel — only on login view */
.wcpcr-auth-cta-btn {
    display: block;
    text-align: center;
    background: #c4642a;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
    margin-top: auto;
}
.wcpcr-auth-cta-btn:hover {
    background: #a8541f;
    color: #fff;
}


/* ============================================================
 * Order-Pay page styling (v1.7.15 — defensive layout reset)
 *
 * Razorpay's WC plugin echoes its own HTML directly via receipt_page().
 * We can't replace the HTML (the Pay Now button must stay wired to
 * Razorpay's JS), but we restyle it to match our brand.
 *
 * v1.7.15 fixes layout breakage caused by:
 *   - Hello Elementor's WP global stylesheet that puts max-width on
 *     every direct child of `is-layout-constrained` containers
 *     (-> made each <ul>, <p>, <form> appear in separate columns).
 *   - WP 6's `--wp--style--global--content-size: 800px` constraint.
 *   - `is-layout-flex` on ancestor containers turning .woocommerce
 *     children into flex items.
 *
 * Strategy: aggressive `!important` overrides on .woocommerce and all
 * its children to force normal block flow, full width within our
 * card, and centered layout independent of theme/WP layout classes.
 *
 * Target structure (verified from page source):
 *   body.wcpcr-order-pay-page main#content .woocommerce
 *     ├─ .woocommerce-notices-wrapper (empty, hidden)
 *     ├─ ul.order_details
 *     │   ├─ li.order   (Order number)
 *     │   ├─ li.date    (Date)
 *     │   ├─ li.total   (Total)
 *     │   └─ li.method  (Payment method)
 *     ├─ p             (Thank you for your order...)
 *     ├─ form[name=razorpayform]   (hidden inputs only)
 *     ├─ p#msg-razorpay-success    (hidden until JS shows it)
 *     ├─ p > #btn-razorpay + #btn-razorpay-cancel
 *     └─ div.clear
 * ============================================================ */

/* Page background */
body.wcpcr-order-pay-page {
    background: #f5f6f8;
}

/* Force <main> full width — Hello Elementor / WP layout classes
 * normally cap it at --wp--style--global--content-size (800px) and
 * apply is-layout-constrained which puts max-width on children. */
body.wcpcr-order-pay-page main#content,
body.wcpcr-order-pay-page main#content.site-main {
    padding: 40px 20px !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    background: transparent !important;
}
@media (max-width: 600px) {
    body.wcpcr-order-pay-page main#content,
    body.wcpcr-order-pay-page main#content.site-main {
        padding: 20px 14px !important;
    }
}

/* The .page-content wrapper (theme-injected) — center and constrain
 * to a sane card width. Override any theme display rules. */
body.wcpcr-order-pay-page main#content > .page-content {
    max-width: 560px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: block !important;
}

/* The .woocommerce wrapper that contains all the gateway HTML.
 * Force normal block flow. Override any flex/grid coming from
 * is-layout-* classes added by WP 6.x global styles. */
body.wcpcr-order-pay-page main#content .woocommerce {
    display: block !important;
    grid-template-columns: none !important;
    flex-direction: column !important;
    background: #fff !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 24px rgba(16, 24, 40, 0.06) !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 560px !important;
    position: relative !important;
}

/* CRITICAL: every direct child of .woocommerce must be a full-width
 * block, not a flex item, not constrained by is-layout-constrained
 * max-width rules. This is what was breaking the layout in v1.7.14. */
body.wcpcr-order-pay-page main#content .woocommerce > * {
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
    flex: none !important;
    grid-column: auto !important;
    float: none !important;
}

/* Header band (gradient + title) added via ::before on .woocommerce.
 * Must be a block at the top of the card. */
body.wcpcr-order-pay-page main#content .woocommerce::before {
    content: "🔒  Complete your payment" !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    background: linear-gradient(135deg, #fef6ed 0%, #fcefe0 50%, #fbe4c8 100%) !important;
    color: #7a3e15 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    padding: 26px 32px 22px !important;
    text-align: center !important;
    border-bottom: 1px solid #f5d4b3 !important;
    letter-spacing: -0.01em !important;
    box-sizing: border-box !important;
    margin: 0 !important;
}
@media (max-width: 600px) {
    body.wcpcr-order-pay-page main#content .woocommerce::before {
        font-size: 18px !important;
        padding: 22px 20px 18px !important;
    }
}

/* Sub-tagline above order details */
body.wcpcr-order-pay-page main#content ul.order_details::before {
    content: "Review your order details below and click Pay Now to continue." !important;
    display: block !important;
    text-align: center !important;
    color: #667085 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    padding: 16px 16px 6px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Hide empty notices wrapper */
body.wcpcr-order-pay-page .woocommerce-notices-wrapper:empty {
    display: none !important;
}

/* ---- Order details list as a card section ---- */
body.wcpcr-order-pay-page main#content ul.order_details {
    list-style: none !important;
    margin: 14px 28px 18px !important;
    padding: 16px !important;
    background: #fafbfc !important;
    border: 1px solid #f2f4f7 !important;
    border-radius: 10px !important;
    display: block !important;
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
}
@media (max-width: 600px) {
    body.wcpcr-order-pay-page main#content ul.order_details {
        margin: 14px 18px 14px !important;
        padding: 12px 14px !important;
    }
}

/* Each row: label on left, value on right */
body.wcpcr-order-pay-page main#content ul.order_details li {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 4px !important;
    border-bottom: 1px dashed #e4e7ec !important;
    font-size: 13px !important;
    color: #667085 !important;
    text-transform: none !important;
    margin: 0 !important;
    list-style: none !important;
    border-right: none !important;
    text-align: left !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    float: none !important;
}
body.wcpcr-order-pay-page main#content ul.order_details li:last-child {
    border-bottom: none !important;
}
body.wcpcr-order-pay-page main#content ul.order_details li strong {
    color: #101828 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-left: 12px !important;
    text-align: right !important;
    flex-shrink: 0 !important;
}

/* Highlight the Total row.
 * NOTE: Razorpay renders this order: order, date, total, method.
 * So `total` is NOT the last row — `method` follows. We can't use
 * negative margins to bleed to card edges (would overlap the next
 * row). Instead, give it a self-contained highlighted box look. */
body.wcpcr-order-pay-page main#content ul.order_details li.total {
    margin: 8px -8px !important;
    padding: 12px 12px !important;
    background: linear-gradient(135deg, #fef6ed 0%, #fcefe0 100%) !important;
    border: 1px solid #f5d4b3 !important;
    border-radius: 8px !important;
    color: #7a3e15 !important;
    font-weight: 600 !important;
}
body.wcpcr-order-pay-page main#content ul.order_details li.total strong {
    font-size: 22px !important;
    color: #7a3e15 !important;
    font-weight: 700 !important;
}
/* The method row immediately after total — restore normal row styling */
body.wcpcr-order-pay-page main#content ul.order_details li.method {
    border-bottom: none !important;
    padding-top: 10px !important;
}

/* ---- "Thank you for your order..." paragraph ----
 * The thank-you paragraph has no id and no button children.
 * The buttons paragraph also has no id, but contains a button —
 * exclude it via :not(:has(button)) where supported, plus a
 * fallback that resets margin on the buttons paragraph below. */
body.wcpcr-order-pay-page main#content .woocommerce > p:not([id]):not(:has(button)) {
    margin: 0 28px 18px !important;
    padding: 12px 16px !important;
    background: #ecfdf3 !important;
    border: 1px solid #a6f4c5 !important;
    border-radius: 8px !important;
    color: #027948 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    width: auto !important;
    max-width: none !important;
}
@media (max-width: 600px) {
    body.wcpcr-order-pay-page main#content .woocommerce > p:not([id]):not(:has(button)) {
        margin: 0 18px 14px !important;
    }
}

/* The hidden Razorpay form */
body.wcpcr-order-pay-page main#content form[name="razorpayform"] {
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* ---- Pay Now / Cancel buttons ----
 * Razorpay wraps these in a <p>. We need that <p> to span the card
 * width with proper padding and stack the buttons vertically. */
body.wcpcr-order-pay-page main#content .woocommerce > p:has(#btn-razorpay) {
    margin: 0 28px 22px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    text-align: left !important;
    color: inherit !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    width: auto !important;
    max-width: none !important;
}
@media (max-width: 600px) {
    body.wcpcr-order-pay-page main#content .woocommerce > p:has(#btn-razorpay) {
        margin: 0 18px 18px !important;
    }
}

/* Pay Now button — primary brand orange */
body.wcpcr-order-pay-page #btn-razorpay {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px 24px !important;
    background: #c4642a !important;
    color: #fff !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-align: center !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(196, 100, 42, 0.25) !important;
    transition: background 0.15s, box-shadow 0.15s, transform 0.1s !important;
    font-family: inherit !important;
    letter-spacing: 0.01em !important;
    min-height: 54px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}
body.wcpcr-order-pay-page #btn-razorpay:hover {
    background: #a8541f !important;
    box-shadow: 0 6px 18px rgba(196, 100, 42, 0.35) !important;
    transform: translateY(-1px);
}
body.wcpcr-order-pay-page #btn-razorpay:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(196, 100, 42, 0.2) !important;
}
body.wcpcr-order-pay-page #btn-razorpay:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(196, 100, 42, 0.25), 0 4px 14px rgba(196, 100, 42, 0.25) !important;
}

/* Cancel button — secondary outline */
body.wcpcr-order-pay-page #btn-razorpay-cancel {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 24px !important;
    background: #fff !important;
    color: #667085 !important;
    border: 1.5px solid #d0d5dd !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: background 0.15s, border-color 0.15s, color 0.15s !important;
    font-family: inherit !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}
body.wcpcr-order-pay-page #btn-razorpay-cancel:hover {
    background: #f9fafb !important;
    border-color: #98a2b3 !important;
    color: #344054 !important;
}

/* "Please wait while we are processing your payment".
 * Razorpay's HTML has inline `style="display:none;..."` to hide it
 * by default, then JS shows it during payment. Our `!important`
 * children-block-display rule above was overriding that, making it
 * visible all the time. Re-hide it by default; Razorpay's JS will
 * set element.style.display="block" inline when it actually wants
 * it shown — we use a more specific selector + body class chain to
 * tie this to inline overrides where possible. */
body.wcpcr-order-pay-page main#content .woocommerce > p#msg-razorpay-success {
    display: none !important;
}
/* When Razorpay JS shows the element by removing inline display:none
 * or setting it to block, we detect that via [style*="block"] and
 * apply our styled appearance. */
body.wcpcr-order-pay-page main#content .woocommerce > p#msg-razorpay-success[style*="block"],
body.wcpcr-order-pay-page main#content .woocommerce > p#msg-razorpay-success[style*="display: block"],
body.wcpcr-order-pay-page main#content .woocommerce > p#msg-razorpay-success[style*="inline"] {
    display: block !important;
    margin: 18px 28px !important;
    padding: 14px 18px !important;
    background: #fef6ed !important;
    border: 1px solid #fbe4c8 !important;
    border-radius: 8px !important;
    color: #7a3e15 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    text-align: center !important;
    border-top-style: solid !important;
}

/* Trust footer via ::after on .woocommerce */
body.wcpcr-order-pay-page main#content .woocommerce::after {
    content: "🔒 Secured by Razorpay  •  UPI · Cards · NetBanking · Wallets" !important;
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 16px 28px 22px !important;
    background: #f9fafb !important;
    border-top: 1px solid #f2f4f7 !important;
    color: #667085 !important;
    font-size: 12px !important;
    text-align: center !important;
    line-height: 1.5 !important;
    box-sizing: border-box !important;
}
@media (max-width: 600px) {
    body.wcpcr-order-pay-page main#content .woocommerce::after {
        padding: 14px 18px 18px !important;
        font-size: 11px !important;
    }
}

/* Hide stray Razorpay artifacts */
body.wcpcr-order-pay-page main#content .woocommerce > .clear {
    display: none !important;
}
body.wcpcr-order-pay-page main#content > p:empty {
    display: none !important;
}

/* Last-resort defense against any flex/grid container an Elementor
 * widget or theme might wrap around our content. */
body.wcpcr-order-pay-page main#content,
body.wcpcr-order-pay-page main#content > *,
body.wcpcr-order-pay-page main#content > .page-content {
    display: block !important;
    flex: none !important;
    grid-column: auto !important;
    grid-row: auto !important;
}

/* ============================================================
 * Returning Customer login toggle (v1.7.13/v1.7.14)
 * Sidebar accordion for guest checkout login.
 * v1.7.14: hover/active states use solid orange + white text for
 * contrast (was light gradient + brown text → unreadable on hover).
 * ============================================================ */

.wcpcr-checkout-login {
    background: #fff;
    border: 1px solid #e4e7ec;
    border-radius: 10px;
    margin: 0 0 16px;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.wcpcr-checkout-login-toggle {
    width: 100%;
    background: linear-gradient(135deg, #fef6ed 0%, #fcefe0 100%);
    border: none;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #7a3e15;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    transition: background 0.15s, color 0.15s;
    font-family: inherit;
}
.wcpcr-checkout-login-toggle:hover,
.wcpcr-checkout-login-toggle:focus {
    background: #c4642a;
    color: #fff;
    outline: none;
}
.wcpcr-checkout-login-toggle[aria-expanded="true"] {
    background: #c4642a;
    color: #fff;
}
.wcpcr-checkout-login-toggle:hover .wcpcr-checkout-login-chevron,
.wcpcr-checkout-login-toggle:focus .wcpcr-checkout-login-chevron,
.wcpcr-checkout-login-toggle[aria-expanded="true"] .wcpcr-checkout-login-chevron {
    color: #fff;
}

.wcpcr-checkout-login-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 1px 2px rgba(196, 100, 42, 0.15);
}
.wcpcr-checkout-login-label {
    flex: 1;
}
.wcpcr-checkout-login-chevron {
    color: #c4642a;
    font-size: 14px;
    transition: transform 0.2s, color 0.15s;
}
.wcpcr-checkout-login-toggle[aria-expanded="true"] .wcpcr-checkout-login-chevron {
    transform: rotate(180deg);
}

.wcpcr-checkout-login-panel {
    padding: 18px 18px 20px;
    background: #fff;
    border-top: 1px solid #f2f4f7;
}
.wcpcr-checkout-login-form .wcpcr-field {
    margin-bottom: 14px;
}
.wcpcr-checkout-login-form .wcpcr-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #344054;
    margin-bottom: 6px;
}
.wcpcr-checkout-login-form .wcpcr-field input[type="text"],
.wcpcr-checkout-login-form .wcpcr-field input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1.5px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #101828;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
}
.wcpcr-checkout-login-form .wcpcr-field input:focus {
    border-color: #c4642a;
    box-shadow: 0 0 0 3px rgba(196, 100, 42, 0.12);
    outline: none;
}
.wcpcr-checkout-login-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 4px 0 14px;
    flex-wrap: wrap;
    gap: 8px;
}
.wcpcr-checkout-login-form .wcpcr-auth-btn {
    width: 100%;
    background: #c4642a;
    color: #fff;
    border: none;
    padding: 11px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    font-family: inherit;
}
.wcpcr-checkout-login-form .wcpcr-auth-btn:hover {
    background: #a8541f;
}

/* ============================================================
 * Pincode feedback (context-aware, v1.7.13)
 * ============================================================ */
.pc-pincode-feedback {
    margin-top: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.pc-pincode-ok .pc-pincode-feedback {
    background: #ecfdf3;
    color: #027948;
    border: 1px solid #a6f4c5;
}
.pc-pincode-error .pc-pincode-feedback {
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
    flex-direction: column;
    align-items: flex-start;
}
.pc-pincode-feedback .pc-pincode-icon {
    flex-shrink: 0;
    font-weight: 700;
}
.pc-pincode-hint {
    margin-top: 4px;
    font-size: 12px;
    color: #98a2b3;
    font-weight: 400;
}

/* ============================================================
 * Cart page v1.7.16 redesign
 *  - Hide GST per-line column (we removed that hook)
 *  - Repurpose Subtotal column header to "Amount" via CSS text-replace
 *  - Hide shipping calculator form in cart sidebar; show "Calculated at checkout"
 *  - Hide old wcpcr-gst-summary inline (now shown in column instead)
 * ============================================================ */

/* Hide the inline "Amount: ₹299" line we used to render below product name */
.woocommerce-cart .wcpcr-gst-summary {
    display: none !important;
}

/* Hide the inline pricing block inside the PC config grid (₹299 + GST + Total) */
.woocommerce-cart .pc-cart-pricing {
    display: none !important;
}

/* Relabel the Subtotal column header: hide native text, inject "Amount" */
.woocommerce-cart table.cart th.product-subtotal {
    font-size: 0 !important;
    line-height: 1;
}
.woocommerce-cart table.cart th.product-subtotal::before {
    content: "Amount";
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #475467;
    line-height: normal;
    display: inline-block;
}

/* Hide WC's shipping calculator form on cart sidebar */
.woocommerce-cart .cart-collaterals .shipping-calculator-form,
.woocommerce-cart .cart-collaterals .shipping-calculator-button,
.woocommerce-cart .cart-collaterals .woocommerce-shipping-calculator,
.woocommerce-cart .cart-collaterals .woocommerce-shipping-totals.shipping {
    display: none !important;
}

/* Style the new "Calculated at checkout" sidebar row */
.woocommerce-cart .cart_totals tr.wcpcr-cart-shipping-note-row th,
.woocommerce-cart .cart_totals tr.wcpcr-cart-shipping-note-row td {
    color: #667085;
    font-style: italic;
    font-weight: 400;
    font-size: 13px;
}
.woocommerce-cart .cart_totals tr.wcpcr-cart-shipping-note-row th {
    color: #344054;
    font-style: normal;
    font-weight: 600;
}
.woocommerce-cart .cart_totals tr.wcpcr-cart-shipping-note-row td.wcpcr-cart-shipping-note {
    text-align: right;
}

/* Hide WC's native "Subtotal" row in cart totals — we render our own "Amount" row */
.woocommerce-cart .cart_totals .cart-subtotal {
    display: none !important;
}

/* Hide WC's native tax breakdown rows in cart totals (tax_total_display = itemized
 * would show CGST + SGST or IGST as separate rows; we render a single combined GST). */
.woocommerce-cart .cart_totals .tax-rate {
    display: none !important;
}

/* ============================================================
 * Checkout review — hide native Subtotal + tax rows so our
 * custom Amount + GST rows don't duplicate them.
 * ============================================================ */
.woocommerce-checkout #order_review .cart-subtotal,
.woocommerce-checkout #order_review .tax-rate {
    display: none !important;
}

/* ============================================================
 * Cart page v1.7.18 — Hide native Price column on cart
 *
 * The "Price" column shows the WC unit price (which for our configurator
 * items is the tax-INCLUSIVE total, e.g. ₹352.82). We don't want to show
 * this — the customer just needs the per-line "Amount" (ex-GST). Hiding
 * the column entirely simplifies the row.
 * ============================================================ */
.woocommerce-cart table.cart th.product-price,
.woocommerce-cart table.cart td.product-price {
    display: none !important;
}

/* "Calculated at checkout" — align LEFT (was right-aligned) */
.woocommerce-cart .cart_totals tr.wcpcr-cart-shipping-note-row td.wcpcr-cart-shipping-note {
    text-align: left !important;
}

/* Hide ANY native shipping row in cart totals (defensive — covers
 * woocommerce-shipping-totals which has class .shipping AND .woocommerce-shipping-totals).
 * Our shipping note row is `.wcpcr-cart-shipping-note-row`, which is whitelisted. */
.woocommerce-cart .cart_totals tr.shipping:not(.wcpcr-cart-shipping-note-row),
.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals:not(.wcpcr-cart-shipping-note-row),
.woocommerce-cart .cart-collaterals .woocommerce-shipping-totals {
    display: none !important;
}

/* ============================================================
 * v1.7.22 — Suppress WC's native fee rows on checkout review.
 *
 * The PC plugin adds a "Rounding" fee at cart calculation time so the
 * order total is a clean rupee figure. WC then auto-renders that fee
 * as a `tr.fee` row in the totals table — but at the wrong position
 * (typically between Shipping and Subtotal). We render our own
 * <tr class="wcpcr-cart-rounding-row"> at the right position (after
 * GST, before Total) via render_rounding_row(), so we hide the
 * native one to avoid duplication.
 * ============================================================ */
.woocommerce-checkout #order_review .fee:not(.wcpcr-cart-rounding-row) {
    display: none !important;
}

/* On cart sidebar, hide any fee row defensively (rounding fee is gated
 * to checkout only in v2.13.31, but if any other fee sneaks through
 * we don't want it appearing on cart). */
.woocommerce-cart .cart_totals .fee {
    display: none !important;
}

/* ============================================================
 * v1.7.23 — Custom Shipment row on checkout review.
 *
 * We render our own <tr.wcpcr-cart-shipment-row> with the method name
 * on a second line inside the left cell ("Shipment / (Flat rate)").
 * Hide WC's native shipping row to avoid duplication.
 * ============================================================ */
.woocommerce-checkout #order_review tr.shipping:not(.wcpcr-cart-shipment-row) {
    display: none !important;
}

.wcpcr-shipment-method-note {
    display: block;
    font-size: 12px;
    color: #98a2b3;
    font-weight: 400;
    margin-top: 2px;
}

/* ============================================================
 * v1.7.25 — Continue Shopping + Edit cart item
 * ============================================================ */
.woocommerce-cart .wcpcr-continue-shopping {
    margin-top: 20px;
    padding: 0 4px;
}
.woocommerce-cart .wcpcr-continue-shopping-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #344054;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.15s ease;
}
.woocommerce-cart .wcpcr-continue-shopping-btn:hover {
    background: #f9fafb;
    border-color: #98a2b3;
    color: #1d2939;
}

/* Edit links on each cart line item — two compact text-links side by side */
.woocommerce-cart .wcpcr-cart-item-edit {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}
.woocommerce-cart .wcpcr-cart-item-edit-link {
    color: #475467;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed #98a2b3;
    padding-bottom: 1px;
    transition: all 0.15s ease;
}
.woocommerce-cart .wcpcr-cart-item-edit-link:hover {
    color: #1d2939;
    border-bottom-color: #1d2939;
    border-bottom-style: solid;
}
.woocommerce-cart .wcpcr-cart-item-edit-sep {
    color: #d0d5dd;
}

/* ============================================================
 * v1.7.26 — Cart sidebar: coupon + subtotal rows
 * ----------------------------------------------------------------
 * Layout B: Amount → Coupon (-X) → Subtotal → Shipping → GST → Total.
 * Coupon and Subtotal rows only appear when a coupon is applied.
 *
 * 1. Hide WC's native `tr.cart-discount` row (it would render the
 *    coupon line redundantly above the Total). Our custom row
 *    `.wcpcr-cart-coupon-row` lives inside our sidebar_breakdown
 *    output, in the right visual position.
 * 2. Style the Coupon row's "Remove" link subtly so it's discoverable
 *    but not visually heavy.
 * 3. Make the Subtotal row slightly emphasized (it's the running
 *    total after discount — the most useful "next milestone").
 * ============================================================ */
.woocommerce-cart .cart_totals tr.cart-discount {
    display: none !important;
}

.woocommerce-cart .cart_totals tr.wcpcr-cart-coupon-row th,
.woocommerce-cart .cart_totals tr.wcpcr-cart-coupon-row td {
    padding-top: 10px;
    padding-bottom: 10px;
}
.woocommerce-cart .cart_totals tr.wcpcr-cart-coupon-row th {
    font-weight: 600;
    color: #475467;
}
.woocommerce-cart .cart_totals tr.wcpcr-cart-coupon-row td {
    color: #15803d;     /* discount = green = positive for customer */
    font-weight: 600;
}
.woocommerce-cart .wcpcr-cart-coupon-remove {
    margin-left: 8px;
    font-size: 11px;
    font-weight: 500;
    color: #b91c1c;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}
.woocommerce-cart .wcpcr-cart-coupon-remove:hover {
    opacity: 1;
    text-decoration: underline;
}
.woocommerce-cart .cart_totals tr.wcpcr-cart-subtotal-row th,
.woocommerce-cart .cart_totals tr.wcpcr-cart-subtotal-row td {
    border-top: 1px dashed rgba(15, 23, 42, 0.08);
    padding-top: 10px;
    font-weight: 600;
}

/* ============================================================
 * v1.7.33 — Checkout review: coupon row + Remove link
 * ----------------------------------------------------------------
 * Layout: Subtotal → Coupon (−ex-GST) [Remove] → Shipment → GST →
 *         Rounding → Total.
 *
 * 1. Hide WC's native `tr.cart-discount` row in the checkout review
 *    table. It renders the GST-INCLUSIVE discount (e.g. −₹35.28)
 *    above our Subtotal row, which (a) double-shows the coupon and
 *    (b) doesn't reconcile against ex-GST line items + a separate
 *    GST row. Our own `.wcpcr-checkout-coupon-row` (rendered by
 *    render_subtotal_and_coupon_rows) shows the ex-GST figure
 *    (−₹29.90) in the correct position. Scoped to NOT(order-received)
 *    so the thank-you page is untouched.
 * 2. Style the checkout coupon row + Remove link to match the cart.
 * ============================================================ */
.woocommerce-checkout:not(.woocommerce-order-received) .woocommerce-checkout-review-order-table tr.cart-discount {
    display: none !important;
}

.woocommerce-checkout:not(.woocommerce-order-received) tr.wcpcr-checkout-coupon-row th,
.woocommerce-checkout:not(.woocommerce-order-received) tr.wcpcr-checkout-coupon-row td {
    padding-top: 10px;
    padding-bottom: 10px;
}
.woocommerce-checkout:not(.woocommerce-order-received) tr.wcpcr-checkout-coupon-row th {
    font-weight: 600;
    color: #475467;
}
.woocommerce-checkout:not(.woocommerce-order-received) tr.wcpcr-checkout-coupon-row td {
    color: #15803d;     /* discount = green = positive for customer */
    font-weight: 600;
}
.woocommerce-checkout:not(.woocommerce-order-received) .wcpcr-checkout-coupon-row .wcpcr-cart-coupon-remove {
    margin-left: 8px;
    font-size: 11px;
    font-weight: 500;
    color: #b91c1c;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    transition: opacity 0.15s ease;
}
.woocommerce-checkout:not(.woocommerce-order-received) .wcpcr-checkout-coupon-row .wcpcr-cart-coupon-remove:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ============================================================
 * v1.7.34 — Checkout review: running pre-GST Subtotal row
 * Subtotal = items − coupon + shipment, shown just above GST.
 * Light top divider so it reads as the "taxable base" milestone,
 * mirroring the cart sidebar's subtotal emphasis.
 * ============================================================ */
.woocommerce-checkout:not(.woocommerce-order-received) tr.wcpcr-cart-subtotal-row th,
.woocommerce-checkout:not(.woocommerce-order-received) tr.wcpcr-cart-subtotal-row td {
    border-top: 1px dashed rgba(15, 23, 42, 0.08);
    padding-top: 10px;
    font-weight: 600;
}

/* ============================================================
 * v1.7.35 — Field validation states + Business Details tab
 * ============================================================ */

/* Shared valid/invalid input states (checkout phone + account GSTIN) */
.woocommerce input.input-text.wcpcr-field-valid,
.woocommerce-checkout #billing_phone.wcpcr-field-valid,
input.wcpcr-field-valid {
    border-color: #15803d !important;
    box-shadow: 0 0 0 1px rgba(21, 128, 61, 0.25);
}
.woocommerce input.input-text.wcpcr-field-invalid,
.woocommerce-checkout #billing_phone.wcpcr-field-invalid,
input.wcpcr-field-invalid {
    border-color: #b91c1c !important;
    box-shadow: 0 0 0 1px rgba(185, 28, 28, 0.25);
}

/* Inline hint text/icon next to the field */
.wcpcr-phone-hint,
.wcpcr-gstin-hint {
    display: inline-block;
    margin-top: 4px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}
.wcpcr-phone-hint.is-valid,
.wcpcr-gstin-hint.is-valid {
    color: #15803d;
}
.wcpcr-phone-hint.is-invalid,
.wcpcr-gstin-hint.is-invalid {
    color: #b91c1c;
}

/* Business Details tab */
.wcpcr-business-details h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
}
.wcpcr-business-details .wcpcr-bd-intro {
    margin: 0 0 20px;
    color: #6b7280;
    font-size: 14px;
}
.wcpcr-business-details .wcpcr-bd-form .form-row {
    margin-bottom: 16px;
}
.wcpcr-business-details .wcpcr-bd-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}
.wcpcr-business-details .wcpcr-bd-form input.input-text {
    width: 100%;
    max-width: 420px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}
.wcpcr-business-details .wcpcr-gstin-input {
    text-transform: uppercase;
}
.wcpcr-business-details .wcpcr-bd-save {
    background: #e07b39;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.wcpcr-business-details .wcpcr-bd-save:hover {
    background: #cf6d2d;
}
