:root {
  --jr-cart-blue: #1664d6;
  --jr-cart-black: #07090c;
  --jr-cart-cream: #f3f0eb;
  --jr-cart-paper: #faf8f4;
  --jr-cart-warm: #e9e5de;
  --jr-cart-white: #fff;
  --jr-cart-copy: rgba(7,9,12,.64);
  --jr-cart-muted: rgba(7,9,12,.46);
  --jr-cart-line: rgba(7,9,12,.11);
  --jr-cart-max: 1380px;
}

body.jr-woo-cart-page,
body.jr-woo-cart-page #page-container,
body.jr-woo-cart-page #et-main-area,
body.jr-woo-cart-page #main-content {
  background: var(--jr-cart-paper) !important;
}

body.jr-woo-cart-page #main-content .container,
body.jr-woo-cart-page #main-content .container.et_menu_container,
body.jr-woo-cart-page #left-area {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.jr-woo-cart-page #sidebar,
body.jr-woo-cart-page .container::before,
body.jr-woo-cart-page .et_right_sidebar #left-area,
body.jr-woo-cart-page .et_post_meta_wrapper,
body.jr-woo-cart-page .entry-title {
  display: none !important;
}

body.jr-woo-cart-page .woocommerce,
body.jr-woo-cart-page .woocommerce *,
.jr-cart-shell,
.jr-cart-shell * {
  box-sizing: border-box;
  font-family: "Raleway", Arial, sans-serif !important;
}

body.jr-woo-cart-page .woocommerce {
  width: 100% !important;
}

.jr-cart-shell {
  width: min(calc(100% - 64px), var(--jr-cart-max));
  margin: 0 auto;
  padding: 104px 0 clamp(80px, 9vw, 128px);
  color: var(--jr-cart-black);
}

.jr-cart-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.jr-cart-eyebrow,
.jr-cart-items-label,
.jr-cart-summary-eyebrow,
.jr-cart-item-eyebrow {
  color: var(--jr-cart-blue);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.jr-cart-heading h1 {
  margin: 9px 0 8px !important;
  color: var(--jr-cart-black) !important;
  font-size: clamp(46px, 6vw, 82px) !important;
  font-weight: 900 !important;
  letter-spacing: -.055em;
  line-height: .94 !important;
}

.jr-cart-heading p {
  margin: 0 !important;
  color: var(--jr-cart-copy);
  font-size: 15px;
  font-weight: 500;
}

.jr-cart-count {
  flex: 0 0 auto;
  margin-bottom: 7px;
  border: 1px solid var(--jr-cart-line);
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--jr-cart-muted);
  font-size: 11px;
  font-weight: 700;
}

.jr-cart-shipping-progress {
  margin-bottom: 22px;
  border: 1px solid rgba(22,100,214,.16);
  border-radius: 20px;
  background: rgba(22,100,214,.045);
  padding: 18px 20px 16px;
}

.jr-cart-shipping-progress__top {
  display: flex;
  align-items: center;
  gap: 13px;
}

.jr-cart-shipping-progress__top strong,
.jr-cart-shipping-progress__top span {
  display: block;
}

.jr-cart-shipping-progress__top strong {
  margin-bottom: 2px;
  color: var(--jr-cart-black);
  font-size: 13px;
  font-weight: 800;
}

.jr-cart-shipping-progress__top span {
  color: var(--jr-cart-copy);
  font-size: 11px;
  font-weight: 500;
}

.jr-cart-shipping-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--jr-cart-blue);
  color: #fff;
}

.jr-cart-shipping-icon svg { width: 22px; height: 22px; }

.jr-cart-progress-track {
  position: relative;
  overflow: hidden;
  height: 5px;
  margin-top: 14px;
  border-radius: 999px;
  background: rgba(22,100,214,.11);
}

.jr-cart-progress-track span {
  position: absolute;
  inset: 0 auto 0 0;
  min-width: 4px;
  border-radius: inherit;
  background: var(--jr-cart-blue);
  transition: width .3s ease;
}

.jr-cart-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(340px, .85fr);
  gap: clamp(26px, 4vw, 54px);
  align-items: start;
}

.jr-cart-items-panel,
.jr-cart-summary-card {
  border: 1px solid var(--jr-cart-line);
  border-radius: 26px;
  background: rgba(255,255,255,.56);
}

.jr-cart-items-panel {
  padding: clamp(22px, 3vw, 34px);
}

.jr-cart-items-label { margin-bottom: 14px; }

.jr-cart-items-list {
  border-top: 1px solid var(--jr-cart-line);
}

.jr-cart-item {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr);
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid var(--jr-cart-line);
}

.jr-cart-item-media {
  overflow: hidden;
  align-self: start;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  background: var(--jr-cart-warm);
}

.jr-cart-item-media a {
  display: block;
  width: 100%;
  height: 100%;
}

.jr-cart-item-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: contain;
  padding: 11px;
}

.jr-cart-item-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.jr-cart-item-topline,
.jr-cart-item-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.jr-cart-item-copy { min-width: 0; }

.jr-cart-item-eyebrow {
  margin-bottom: 7px;
  font-size: 8px;
}

.jr-cart-item-title {
  display: inline-block;
  max-width: 540px;
  color: var(--jr-cart-black) !important;
  font-size: clamp(18px, 2vw, 25px) !important;
  font-weight: 850 !important;
  letter-spacing: -.025em;
  line-height: 1.04 !important;
  text-decoration: none !important;
}

.jr-cart-item-title:hover { color: var(--jr-cart-blue) !important; }

.jr-cart-item-meta {
  margin-top: 11px;
  color: var(--jr-cart-copy);
  font-size: 11px;
  font-weight: 600;
}

.jr-cart-item-meta dl.variation {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin: 0 !important;
}

.jr-cart-item-meta dt,
.jr-cart-item-meta dd {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.jr-cart-item-meta dt { color: var(--jr-cart-muted); font-weight: 600 !important; }
.jr-cart-item-meta dd p { margin: 0 !important; color: var(--jr-cart-black); font-weight: 750; }

.jr-cart-remove {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  color: var(--jr-cart-muted) !important;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none !important;
  transition: color .18s ease;
}

.jr-cart-remove:hover { color: var(--jr-cart-black) !important; }
.jr-cart-remove svg { width: 16px; height: 16px; }

.jr-cart-price-group {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.jr-cart-unit-price {
  color: var(--jr-cart-muted);
  font-size: 10px;
  font-weight: 600;
}

.jr-cart-line-total {
  color: var(--jr-cart-black);
  font-size: 15px;
  font-weight: 850;
}

.jr-cart-quantity {
  display: grid;
  grid-template-columns: 34px 42px 34px;
  overflow: hidden;
  border: 1px solid var(--jr-cart-line);
  border-radius: 999px;
  background: #fff;
}

.jr-cart-qty-btn {
  display: grid !important;
  width: 34px !important;
  min-width: 0 !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  place-items: center;
  border: 0 !important;
  background: transparent !important;
  color: var(--jr-cart-black) !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  cursor: pointer;
  box-shadow: none !important;
}

.jr-cart-quantity .quantity {
  float: none !important;
  width: 42px !important;
  margin: 0 !important;
}

.jr-cart-quantity input.qty {
  width: 42px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--jr-cart-black) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-align: center !important;
  box-shadow: none !important;
  -moz-appearance: textfield;
}

.jr-cart-quantity input.qty::-webkit-outer-spin-button,
.jr-cart-quantity input.qty::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }

.jr-cart-update-fallback {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.jr-cart-continue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 19px;
  color: var(--jr-cart-black) !important;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none !important;
}

.jr-cart-continue:hover { color: var(--jr-cart-blue) !important; }

.jr-cart-summary {
  position: sticky;
  top: 96px;
}

.jr-cart-summary-card {
  padding: clamp(24px, 3vw, 34px);
  background: #fff;
  box-shadow: 0 22px 60px rgba(7,9,12,.055);
}

.jr-cart-summary-card h2 {
  margin: 7px 0 25px !important;
  color: var(--jr-cart-black) !important;
  font-size: clamp(25px, 2.4vw, 34px) !important;
  font-weight: 900 !important;
  letter-spacing: -.04em;
  line-height: 1 !important;
}

.jr-cart-summary-rows {
  display: grid;
  gap: 13px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--jr-cart-line);
}

.jr-cart-summary-row,
.jr-cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.jr-cart-summary-row span,
.jr-cart-summary-row strong {
  color: var(--jr-cart-copy);
  font-size: 11px;
  font-weight: 600;
}

.jr-cart-summary-row strong { color: var(--jr-cart-black); text-align: right; }
.jr-cart-summary-row--coupon strong { color: var(--jr-cart-blue); }

.jr-cart-total-row {
  padding: 20px 0 22px;
}

.jr-cart-total-row span {
  color: var(--jr-cart-black);
  font-size: 13px;
  font-weight: 800;
}

.jr-cart-total-row strong {
  color: var(--jr-cart-black);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.025em;
}

.jr-cart-checkout-button,
.jr-cart-primary-button {
  display: flex !important;
  width: 100% !important;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--jr-cart-blue) !important;
  border-radius: 14px !important;
  background: var(--jr-cart-blue) !important;
  padding: 0 19px !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: .01em;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: transform .18s ease, box-shadow .18s ease;
}

.jr-cart-checkout-button:hover,
.jr-cart-primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 13px 28px rgba(22,100,214,.18) !important;
}

.jr-cart-checkout-button span,
.jr-cart-primary-button span { font-size: 19px; font-weight: 400; }

.jr-cart-trust-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 4px 0;
  color: var(--jr-cart-muted);
  font-size: 8px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.jr-cart-trust-row i {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(7,9,12,.22);
}

.jr-cart-coupon-block {
  margin-top: 22px;
  border-top: 1px solid var(--jr-cart-line);
  padding-top: 17px;
}

.jr-cart-coupon-toggle {
  display: flex !important;
  width: 100% !important;
  align-items: center;
  justify-content: space-between;
  border: 0 !important;
  background: transparent !important;
  padding: 0 !important;
  color: var(--jr-cart-black) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  cursor: pointer;
  box-shadow: none !important;
}

.jr-cart-coupon-toggle-icon {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--jr-cart-line);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 400;
}

.jr-cart-coupon-form { margin-top: 15px; }
.jr-cart-coupon-form[hidden] { display: none !important; }

.jr-cart-coupon-form label {
  position: absolute;
  overflow: hidden;
  width: 1px;
  height: 1px;
  clip: rect(0 0 0 0);
}

.jr-cart-coupon-fields {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 8px;
}

.jr-cart-coupon-fields input {
  width: 100% !important;
  height: 44px !important;
  border: 1px solid var(--jr-cart-line) !important;
  border-radius: 11px !important;
  background: var(--jr-cart-paper) !important;
  padding: 0 13px !important;
  color: var(--jr-cart-black) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  outline: none !important;
}

.jr-cart-coupon-fields input:focus { border-color: rgba(22,100,214,.5) !important; }

.jr-cart-coupon-fields button {
  min-width: 76px !important;
  height: 44px !important;
  border: 1px solid var(--jr-cart-black) !important;
  border-radius: 11px !important;
  background: var(--jr-cart-black) !important;
  padding: 0 14px !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  cursor: pointer;
  box-shadow: none !important;
}

.jr-cart-empty {
  display: grid;
  min-height: 420px;
  place-items: center;
  border: 1px solid var(--jr-cart-line);
  border-radius: 30px;
  background: rgba(255,255,255,.58);
  padding: 56px 28px;
  text-align: center;
}

.jr-cart-empty-icon {
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 24px;
  background: var(--jr-cart-blue);
  color: #fff;
}

.jr-cart-empty-icon svg { width: 39px; height: 39px; }

.jr-cart-empty-copy { max-width: 560px; margin: 18px auto 22px; }
.jr-cart-empty-copy h2 { margin: 0 0 9px !important; color: var(--jr-cart-black) !important; font-size: clamp(30px,4vw,48px) !important; font-weight: 900 !important; letter-spacing: -.045em; line-height: 1 !important; }
.jr-cart-empty-copy p { margin: 0 !important; color: var(--jr-cart-copy); font-size: 13px; }
.jr-cart-empty .jr-cart-primary-button { width: auto !important; min-width: 220px; }

.jr-cart-notices { margin-bottom: 22px; }
body.jr-woo-cart-page .woocommerce-message,
body.jr-woo-cart-page .woocommerce-error,
body.jr-woo-cart-page .woocommerce-info {
  margin: 0 0 10px !important;
  border: 1px solid var(--jr-cart-line) !important;
  border-top: 1px solid var(--jr-cart-line) !important;
  border-radius: 14px !important;
  background: #fff !important;
  padding: 14px 16px 14px 42px !important;
  color: var(--jr-cart-black) !important;
  font-size: 11px !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

body.jr-woo-cart-page .woocommerce-message::before,
body.jr-woo-cart-page .woocommerce-info::before { color: var(--jr-cart-blue) !important; top: 14px !important; }
body.jr-woo-cart-page .woocommerce-error::before { top: 14px !important; }

/* Header global: contraste correcto sobre superficie clara. */
body.jr-woo-cart-page #jr-global-header-v22:not(.is-menu-open) .jr-header-nav a {
  color: var(--jr-header-black, #07090c) !important;
}
body.jr-woo-cart-page #jr-global-header-v22:not(.is-menu-open) .jr-header-persistent-logo__image--black {
  opacity: 1 !important;
  visibility: visible !important;
}
body.jr-woo-cart-page #jr-global-header-v22:not(.is-menu-open) .jr-header-persistent-logo__image--white {
  opacity: 0 !important;
  visibility: hidden !important;
}
body.jr-woo-cart-page #jr-global-header-v22:not(.is-menu-open) .jr-header-full {
  border-color: rgba(7,9,12,.08) !important;
}
body.jr-woo-cart-page #jr-global-header-v22:not(.is-menu-open) .jr-header-menu-button,
body.jr-woo-cart-page #jr-global-header-v22:not(.is-menu-open) .jr-header-mobile-button {
  background: #07090c !important;
}
body.jr-woo-cart-page #jr-global-header-v22:not(.is-menu-open) .jr-header-menu-button__icon span {
  background: #fff !important;
}
body.jr-woo-cart-page #jr-global-header-v22:not(.is-menu-open) .jr-header-store,
body.jr-woo-cart-page #jr-global-header-v22:not(.is-menu-open) .jr-header-compact .jr-header-store {
  border-color: #1664d6 !important;
  background: #1664d6 !important;
  color: #fff !important;
}

@media (max-width: 1080px) {
  .jr-cart-grid { grid-template-columns: minmax(0,1fr) 330px; gap: 24px; }
  .jr-cart-item { grid-template-columns: 132px minmax(0,1fr); }
}

@media (max-width: 900px) {
  .jr-cart-shell { width: min(calc(100% - 36px), var(--jr-cart-max)); padding-top: 92px; }
  .jr-cart-grid { grid-template-columns: 1fr; }
  .jr-cart-summary { position: static; }
  .jr-cart-summary-card { max-width: none; }
}

@media (max-width: 620px) {
  .jr-cart-shell { width: min(calc(100% - 28px), var(--jr-cart-max)); padding-top: 82px; padding-bottom: 72px; }
  .jr-cart-heading { align-items: flex-start; margin-bottom: 24px; }
  .jr-cart-heading h1 { font-size: 46px !important; }
  .jr-cart-heading p { font-size: 12px; }
  .jr-cart-count { display: none; }
  .jr-cart-shipping-progress { border-radius: 16px; padding: 15px 16px 13px; }
  .jr-cart-items-panel { border-radius: 20px; padding: 18px 16px; }
  .jr-cart-item { grid-template-columns: 96px minmax(0,1fr); gap: 14px; padding: 20px 0; }
  .jr-cart-item-title { font-size: 17px !important; }
  .jr-cart-item-topline { gap: 10px; }
  .jr-cart-remove span { display: none; }
  .jr-cart-item-bottom { align-items: flex-end; gap: 12px; }
  .jr-cart-quantity { grid-template-columns: 30px 36px 30px; }
  .jr-cart-qty-btn { width: 30px !important; height: 32px !important; }
  .jr-cart-quantity .quantity,
  .jr-cart-quantity input.qty { width: 36px !important; height: 32px !important; }
  .jr-cart-summary-card { border-radius: 20px; padding: 22px 18px; }
  .jr-cart-trust-row { gap: 5px; font-size: 7px; }
}

@media (max-width: 430px) {
  .jr-cart-item { grid-template-columns: 82px minmax(0,1fr); }
  .jr-cart-item-bottom { flex-direction: column; align-items: flex-start; }
  .jr-cart-quantity { align-self: flex-start; }
  .jr-cart-coupon-fields { grid-template-columns: 1fr; }
  .jr-cart-coupon-fields button { width: 100% !important; }
}
